diff --git a/ex-lepl1503.c b/ex-lepl1503.c
index 71a55f104ba70820f54d22274a49b5d182ad80c2..cef6b0fac2b58366a6aa465eee31a4416b8bec36 100644
--- a/ex-lepl1503.c
+++ b/ex-lepl1503.c
@@ -17,6 +17,12 @@ void test_maxifailed(void) /*Exemple de test qui échouera */
     CU_ASSERT(maxi(0,2)==3);
 }
 
+void erreurmalloc(void){
+    char *buffer;
+    buffer=malloc(3*sizeof(char));
+    buffer[3]='a'; /*Accès hors tableau*/
+}
+
 int main() {
     CU_initialize_registry();
     CU_pSuite suite = CU_add_suite("maxi_test", 0, 0);
@@ -28,5 +34,6 @@ int main() {
     CU_automated_run_tests();
     CU_cleanup_registry();
  
+    erreurmalloc();
     return 0;
 }