Skip to content

Commit

Permalink
Fix ____longjmp_chk for s390/s390x.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab authored and Ulrich Drepper committed Jan 20, 2010
1 parent cff0be8 commit e3b7670
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2010-01-20 Andreas Schwab <schwab@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c
(CHECK_SP): Fix check for alternate stack.
* sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c
(CHECK_SP): Likewise.

2010-01-19 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/memmove.S: Also check
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{ \
if ((oss.ss_flags & SS_ONSTACK) == 0 \
|| ((uintptr_t) (oss.ss_sp + oss.ss_size) - new_sp \
>= oss.ss_size)) \
< oss.ss_size)) \
__fortify_fail ("longjmp causes uninitialized stack frame");\
} \
} \
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{ \
if ((oss.ss_flags & SS_ONSTACK) == 0 \
|| ((uintptr_t) (oss.ss_sp + oss.ss_size) - new_sp \
>= oss.ss_size)) \
< oss.ss_size)) \
__fortify_fail ("longjmp causes uninitialized stack frame");\
} \
} \
Expand Down

0 comments on commit e3b7670

Please sign in to comment.