git-fix-longjmp
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 28 Jan 2024 22:58:14 +0000 (23:58 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 28 Jan 2024 22:58:14 +0000 (23:58 +0100)
commit82b88d5553c37f58241bf162620507670a7a0aa9
tree867f4996ea93f05bec6c3653ad963def0178747e
parent66820492a4dc43f3ddfe9db7a8717af5778f5fa4
git-fix-longjmp

Committed for glibc 2.32

commit 115bcf921a52005b89ff2859ccae4a8fc6d6deed
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jul 18 15:08:03 2020 +0200

    hurd: Fix longjmp early in initialization

    When e.g. an LD_PRELOAD fails, _dl_signal_exception/error longjmps, but TLS
    is not initialized yet, let along signal state.  We thus mustn't look at
    them within __longjmp.

    * sysdeps/mach/hurd/i386/____longjmp_chk.S,__longjmp.S: Check for
    initialized value of %gs, and that sigstate is non-NULL.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-fix-longjmp.diff
sysdeps/mach/hurd/i386/____longjmp_chk.S
sysdeps/mach/hurd/i386/__longjmp.S