patch-2.2.18 linux/fs/binfmt_elf.c
Next file: linux/fs/binfmt_em86.c
Previous file: linux/fs/adfs/super.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Nov 28 16:35:07 2000
- Orig file:
v2.2.17/fs/binfmt_elf.c
- Orig date:
Sun Jun 11 21:44:18 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -594,8 +594,8 @@
bprm->argc++;
}
}
- retval = -E2BIG;
- if (!bprm->p)
+ retval = (long)bprm->p;
+ if ((long)bprm->p < 0)
goto out_free_dentry;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)