[Bug libc/24202] m68k setjmp() saves incorrect 'a5' register in --enable-stack-protector=all
siddhesh at sourceware dot org
sourceware-bugzilla@sourceware.org
Mon Dec 21 04:58:00 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=24202
Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.33
Resolution|--- |FIXED
CC| |siddhesh at sourceware dot org
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
Fixed in master:
commit 6eb7e1da0e805e2893a0b70a5813641529d8c7e2 (HEAD -> master)
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date: Mon Dec 21 10:24:34 2020 +0530
m68k: fix clobbering a5 in setjmp() [BZ #24202]
setjmp() uses C code to store current registers into jmp_buf
environment. -fstack-protector-all places canary into setjmp()
prologue and clobbers 'a5' before it gets saved.
The change inhibits stack canary injection to avoid clobber.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list