mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
Merge branch 'for-next/topic/execve/core' into for-next/execve
This commit is contained in:
commit
8fa1179c84
@ -478,7 +478,7 @@ static int load_flat_file(struct linux_binprm *bprm,
|
||||
* 28 bits (256 MB) is way more than reasonable in this case.
|
||||
* If some top bits are set we have probable binary corruption.
|
||||
*/
|
||||
if ((text_len | data_len | bss_len | stack_len | full_data) >> 28) {
|
||||
if ((text_len | data_len | bss_len | stack_len | relocs | full_data) >> 28) {
|
||||
pr_err("bad header\n");
|
||||
ret = -ENOEXEC;
|
||||
goto err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user