]> granicus.if.org Git - procps-ng/commit
pgrep: Don't segfault with no match _______ (catch up)
authorJim Warner <james.warner@comcast.net>
Wed, 11 Apr 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 5 May 2018 21:19:38 +0000 (07:19 +1000)
commitac73415e32c171d434a5518fd1324ec248f8d0fb
treef21420284891af34c8f2646a7c9af75c44690d2b
parent036ab9a3dda594be2e9c8fde40e4372279558718
pgrep: Don't segfault with no match _______ (catch up)

--------------- Original Master Branch Commit Message:
If pgrep is run with a non-program name match and there are
no matches, it segfaults.

The testsuite thinks zero bytes sent, and zero bytes sent
because the program crashed is the same :/

References:
 commit 1aacf4af7f199d77fc9386e249eee654f59880db
 https://bugs.debian.org/894917

Signed-off-by: Jim Warner <james.warner@comcast.net>
NEWS
pgrep.c