kernel - Fix null pointer panic related to setproctitle()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 8 Mar 2011 00:57:47 +0000 (16:57 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 8 Mar 2011 00:57:47 +0000 (16:57 -0800)
commitc7506e9d784f4d699b4d2ae7191af6a1668d1e24
treeb5379347ec9006a9e413c4f9990f54ccce2de1df
parent3f1815acdc676339e0b29bff989b21bcf4ff7bf2
kernel - Fix null pointer panic related to setproctitle()

* Fix a missing NULL check when setproctitle() is called for a
  program whos args were previously too large to fit in the
  per-process p_args cache.

Reported-by: John Marino <dragonflybsd@marino.st>
sys/kern/kern_proc.c