Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9807
b: refs/heads/master
c: 6de5051
h: refs/heads/master
i:
  9805: 37787ea
  9803: aefaf3f
  9799: 9b83972
  9791: c351826
v: v3
  • Loading branch information
akpm@osdl.org authored and Linus Torvalds committed Oct 11, 2005
1 parent 12d0695 commit 79675e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0c111c631e7ab4abd68920debd44259160812ef
refs/heads/master: 6de505173e24e76bb33a2595312e0c2b44d49e58
2 changes: 1 addition & 1 deletion trunk/fs/binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs)
send_sig(SIGKILL, current, 0);
goto out_free_dentry;
}
if (padzero(elf_bss)) {
if (likely(elf_bss != elf_brk) && unlikely(padzero(elf_bss))) {
send_sig(SIGSEGV, current, 0);
retval = -EFAULT; /* Nobody gets to see this, but.. */
goto out_free_dentry;
Expand Down

0 comments on commit 79675e9

Please sign in to comment.