NULL Ptr Crashes when Loading Config (with some fixes)
|Reported by:||jwernerny -2-||Owned by:||KaZeR|
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)