* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error

condition from cmdline retrieval.
This commit is contained in:
Christopher Faylor
2002-11-05 03:21:32 +00:00
parent 43a299881f
commit 8948b6585d
2 changed files with 6 additions and 1 deletions

View File

@ -301,7 +301,7 @@ fhandler_process::fill_filebuf ()
if (filebuf)
free (filebuf);
filebuf = p->cmdline (filesize);
if (!*filebuf)
if (!filebuf || !*filebuf)
filebuf = strdup ("<defunct>");
break;
}