After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711754 - gmain: Fix use of uninitialized memory in sigaction structure
gmain: Fix use of uninitialized memory in sigaction structure
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: mainloop
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks: 711744
 
 
Reported: 2013-11-09 23:49 UTC by Stef Walter
Modified: 2013-11-11 06:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gmain: Fix use of uninitialized memory in sigaction structure (764 bytes, patch)
2013-11-09 23:49 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-11-09 23:49:28 UTC
We were passing an uninitialized struct sigaction to sigaction().
Since struct sigaction values by platform, we should use memset to 
clear it.
Comment 1 Stef Walter 2013-11-09 23:49:32 UTC
Created attachment 259364 [details] [review]
gmain: Fix use of uninitialized memory in sigaction structure
Comment 2 Stef Walter 2013-11-11 06:43:13 UTC
Attachment 259364 [details] pushed as 81d0ebe - gmain: Fix use of uninitialized memory in sigaction structure