harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Eschbach (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6481) Failure to retrieve the command line parameters via procfs causes NPE
Date Tue, 23 Mar 2010 18:12:27 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Eschbach resolved HARMONY-6481.
------------------------------------

    Resolution: Fixed

llya's patch worked.  I'll get  those two agreements in this week, thank you for point those
out.

> Failure to retrieve the command line parameters via procfs causes NPE
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-6481
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6481
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: operating system :  FreeBSD [8.0p2]
> CPU architecture :  x86
> ant os name/arch :  FreeBSD/i386
> hosting Java     :  1.6.0_07 (The FreeBSD Foundation)
>            Reporter: Mark Eschbach
>         Attachments: harmony-drlvm-ch-cmdln.diff
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message