uti: Zero-clear struct mckernel_exec_file before initialization
Change-Id: I315008b7f5c9e66a93b80da87d1a6332d717c2aa
This commit is contained in:
@ -1823,6 +1823,7 @@ int mcexec_open_exec(ihk_os_t os, char * __user filename)
|
|||||||
retval = -ENOMEM;
|
retval = -ENOMEM;
|
||||||
goto out_put_file;
|
goto out_put_file;
|
||||||
}
|
}
|
||||||
|
memset(mcef, 0, sizeof(struct mckernel_exec_file)); /* debug */
|
||||||
|
|
||||||
down(&mckernel_exec_file_lock);
|
down(&mckernel_exec_file_lock);
|
||||||
/* Find previous file (if exists) and drop it */
|
/* Find previous file (if exists) and drop it */
|
||||||
|
|||||||
Reference in New Issue
Block a user