This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sigaction looks a.sa_handler even if act == NULL


In __sigaction() in sysdeps/mach/hurd/sigaction.c, if act is NULL,
nothing is copied into a.  Later on at line 71, a.sa_handler is hence
used without having been defined.  The attached patch fixes this.

Samuel

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]