projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply post-1.10.1 patches
[oweals/busybox.git]
/
networking
/
httpd.c
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 5e6037cbe7defaa65da495afdd382ea61ae0baf4..2c5455bf7bd647b506cb16f6f4107e7259e4dfe1 100644
(file)
--- a/
networking/httpd.c
+++ b/
networking/httpd.c
@@
-1457,6
+1457,11
@@
static void send_cgi_and_exit(
}
}
#endif
+ /* restore default signal dispositions for CGI process */
+ signal(SIGCHLD, SIG_DFL);
+ signal(SIGPIPE, SIG_DFL);
+ signal(SIGHUP, SIG_DFL);
+
execv(fullpath, argv);
if (verbose)
bb_perror_msg("exec %s", fullpath);