Test "Error handling improvement" on arm64
The following test set: execve: fix memory leak add: NULL check for master_channel at IKC interrupt_handler. Fix the check routine for elf sections (Fujitsu: POSTK_TEMP_FIX_77) Change-Id: I16c2a341c48f6df10a4839be08b93ea16bda8fbe Refs: #727 Refs: #873 Refs: #1011
This commit is contained in:
committed by
Masamichi Takagi
parent
ec844bb6e3
commit
95e90c727e
15
test/error_handling/x86_64/Issue727/727.patch
Normal file
15
test/error_handling/x86_64/Issue727/727.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c
|
||||
index 2d0d50e..70856e7 100644
|
||||
--- a/executer/user/mcexec.c
|
||||
+++ b/executer/user/mcexec.c
|
||||
@@ -3732,7 +3732,9 @@ return_execve1:
|
||||
|
||||
/* Copy program image phase */
|
||||
case 2:
|
||||
-
|
||||
+ fprintf(stderr, "execve killed\n");
|
||||
+ fflush(stderr);
|
||||
+ kill(getpid(), SIGKILL);
|
||||
ret = -1;
|
||||
/* Alloc descriptor */
|
||||
desc = malloc(w.sr.args[2]);
|
||||
Reference in New Issue
Block a user