Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144380608
D18298.id50918.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
729 B
Referenced Files
None
Subscribers
None
D18298.id50918.diff
View Options
Index: head/sys/amd64/ia32/ia32_signal.c
===================================================================
--- head/sys/amd64/ia32/ia32_signal.c
+++ head/sys/amd64/ia32/ia32_signal.c
@@ -364,12 +364,14 @@
/* Build the argument list for the signal handler. */
sf.sf_signum = sig;
sf.sf_scp = (register_t)&fp->sf_siginfo.si_sc;
+ bzero(&sf.sf_siginfo, sizeof(sf.sf_siginfo));
if (SIGISMEMBER(psp->ps_siginfo, sig)) {
/* Signal handler installed with SA_SIGINFO. */
sf.sf_arg2 = (register_t)&fp->sf_siginfo;
sf.sf_siginfo.si_signo = sig;
sf.sf_siginfo.si_code = ksi->ksi_code;
sf.sf_ah = (uintptr_t)catcher;
+ sf.sf_addr = 0;
} else {
/* Old FreeBSD-style arguments. */
sf.sf_arg2 = ksi->ksi_code;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 3:45 AM (14 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28533442
Default Alt Text
D18298.id50918.diff (729 B)
Attached To
Mode
D18298: Fix stack leak in compat osendsig().
Attached
Detach File
Event Timeline
Log In to Comment