public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/24202] m68k setjmp() saves incorrect 'a5' register in --enable-stack-protector=all
       [not found] <bug-24202-131@http.sourceware.org/bugzilla/>
@ 2020-12-21  4:58 ` siddhesh at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: siddhesh at sourceware dot org @ 2020-12-21  4:58 UTC (permalink / raw)
  To: glibc-bugs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-21  4:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24202-131@http.sourceware.org/bugzilla/>
2020-12-21  4:58 ` [Bug libc/24202] m68k setjmp() saves incorrect 'a5' register in --enable-stack-protector=all siddhesh at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).