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

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Mon Jul 9 13:31:17 PDT 2012


           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 at chocky.org
        ReportedBy: me at 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.

More information about the gcc mailing list