]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Do not restore xstate when it is not initialized
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 21 Apr 2025 17:42:27 +0000 (19:42 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 21 Apr 2025 17:43:36 +0000 (19:43 +0200)
commit8d54b428cfe98c21049f94c8af3bf302e44091e9
tree9583c30ff60f098af4646a564debd9655d7d5259
parentd58ebf51bca1a30e1a07e800e3823f4c96029da0
hurd: Do not restore xstate when it is not initialized

If the process has never used fp before getting a signal, xstate is set
(and thus the x87 state is not initialized) but xstate->initialized is still
0, and we should not restore anything.
sysdeps/mach/hurd/i386/sigreturn.c
sysdeps/mach/hurd/x86_64/sigreturn.c