Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/external/bsd/top/dist Pull up following revision(s) (requ...
details: https://anonhg.NetBSD.org/src/rev/ec27ba45f247
branches: netbsd-8
changeset: 435047:ec27ba45f247
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 09 15:37:57 2018 +0000
description:
Pull up following revision(s) (requested by kamil in ticket #871):
external/bsd/top/dist/top.c: revision 1.10
Fix unitialized signal mask passed to sigaction(2) in top(1)
Detected with Memory Sanitizer during the integration of sanitizers with
the NetBSD basesystem.
Reported by <Yang Zheng>
diffstat:
external/bsd/top/dist/top.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 11bd042d36c1 -r ec27ba45f247 external/bsd/top/dist/top.c
--- a/external/bsd/top/dist/top.c Sat Jun 09 15:35:37 2018 +0000
+++ b/external/bsd/top/dist/top.c Sat Jun 09 15:37:57 2018 +0000
@@ -135,6 +135,7 @@
#ifdef HAVE_SIGACTION
struct sigaction action;
+ sigemptyset(&action.sa_mask);
action.sa_handler = handler;
action.sa_flags = 0;
(void) sigaction(sig, &action, NULL);
Home |
Main Index |
Thread Index |
Old Index