alfred 2003/07/01 02:45:35 PDT
FreeBSD src repository
Don't segfault if setproctitle(3) is called with NULL initially.
The old buffer was not being initialized and a later str*() op on
it would cause a crash if it wasn't initialized by a previous
call to setproctitle(3) with an actual string.
Noticed by: Ashley Penney <firstname.lastname@example.org>
Revision Changes Path
1.18 +1 -0 src/lib/libc/gen/setproctitle.c