[PATCH] Avoid possible crash as well as memory leak in killall
Old location for psmisc
Brought to you by:
csmall
By reading the current HEAD I stumbled on a memory leak in killall.c as well as on n not assigned pointer got_long in load_proc_cmdline() which may lead to SIGSEGV ... the attached patch may fix this (IMHO). Is this correct?
Werner
Anonymous
Hi Werner,
Yes it looks like it got messed up when i was copying and pasting to shuffle that loop around. I have applied the patch and committed the patch at [05a66f]. I couldn't git am it but it looks ok with the right attributions now.
Related
Commit: [05a66f]