Monday, 9 July 2012

[gccsdk] [Bug 241] New: Null pointer dereference in __get_dde_prefix()

http://www.riscos.info/bugzilla3/show_bug.cgi?id=241

Summary: Null pointer dereference in __get_dde_prefix()
Product: GCC/GCCSDK
Version: other
Platform: All
OS/Version: RISC OS
Status: NEW
Severity: normal
Priority: P1
Component: Unixlib and SharedCLibrary
AssignedTo: peter@chocky.org
ReportedBy: me@phlamethrower.co.uk
Estimated Hours: 0.0


After using __getenv_from_os() to look up <Prefix$Dir>, __get_dde_prefix()
(libunixlib/common/prefix.c) doesn't check if the returned pointer is null
before checking if the string is zero-length.

--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment