Opened 12 years ago
Closed 10 years ago
#774 closed defect/bug (Incomplete/Missing infos)
NULL Ptr Crashes when Loading Config (with some fixes)
Reported by: | jwernerny -2- | Owned by: | KaZeR |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
I updated my svn working copy and tried to run it and found several places where NULL pointers were being dereferenced when the wordexp (in particular file_wordexp_new(..)) failed. This was causing crashes. I am including some brute force patches.
[The failure of file_wordexp_new(..) will be opened as another issue.]
The files affected are
- navit/xmlconfig.c (revision 4155)
- navit/map/textfile/textfile.c (revision 4155)
- navit/map/binfile/binfile.c (revision 4155)
Attachments (1)
Change History (2)
Changed 12 years ago by jwernerny -2-
comment:1 Changed 10 years ago by usul
- Resolution set to Incomplete/Missing infos
- Status changed from new to closed
Was this patch already applied? Under which circumstances will the exceptions occure and under which build/OS?
Note: See
TracTickets for help on using
tickets.
Patch for NULL Ptr when opening config