Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
operating system : FreeBSD [8.0p2]
CPU architecture : x86
ant os name/arch : FreeBSD/i386
hosting Java : 1.6.0_07 (The FreeBSD Foundation)
-
Patch Available
-
Novice
Description
If the crash handler fails to open the procfs file relating to the command line then this will leave a variable (g_cmdline) in the default state of NULL. Upon rendering a crash report, the variable is not checked for being NULL and will cause the crash report deference a NULL pointer.
I'm not sure if you may unmount procfs on Linux, if you may move the procfs mount point from /proc, nor under which conditions opening the current process's command line would fail. Under FreeBSD (by default) doesn't have procfs mounted, and to mount procfs is generally considered an excessive security risk.