summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-07-01 09:45:35 +0000
committeralfred <alfred@FreeBSD.org>2003-07-01 09:45:35 +0000
commit503a83a7c1a1f590cd26081961544c9fbd89218d (patch)
treed54967314dcf5f85a3bded3383aef9ce097c8a6f /include
parente34fed157a2a4611a1f5a877ab4a29c0a1a567d6 (diff)
downloadFreeBSD-src-503a83a7c1a1f590cd26081961544c9fbd89218d.zip
FreeBSD-src-503a83a7c1a1f590cd26081961544c9fbd89218d.tar.gz
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 <ashp@unloved.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud