mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix ____longjmp_chk for s390/s390x.
This commit is contained in:
parent
cff0be8849
commit
e3b7670be2
@ -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
|
||||
|
@ -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");\
|
||||
} \
|
||||
} \
|
||||
|
@ -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");\
|
||||
} \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user