aboutsummaryrefslogtreecommitdiff
path: root/sh/Makefile
diff options
context:
space:
mode:
authorphilhofer <phofer@umich.edu>2018-12-23 12:42:33 -0800
committerMike Frysinger <vapier@gmail.com>2018-12-23 21:01:39 -0500
commita9fc26ac1367ac887eab76007e8834dfe787edcd (patch)
tree3ff3fdc3f61053c7fea7ec9dc61ef732825378c8 /sh/Makefile
parent40f70466969b340ee5e277c98a4b27a9117b795e (diff)
src/rc/supervise-daemon.c: do not pass NULL to strcmp
The following will cause a segfault due to NULL being passed to strcmp(3) $ RC_SVCNAME=foo supervise-daemon Fix the bounds check on argc in main. If argc<=1, then it is not safe to dereference argv[1].
Diffstat (limited to 'sh/Makefile')
0 files changed, 0 insertions, 0 deletions