Opened 13 years ago

Closed 13 years ago

#517 closed defect/bug (fixed)

[PATCH] NULL-pointer dereference while parsing navit.xml

Reported by: pauliusz Owned by: KaZeR
Priority: major Milestone: want patch / contribution
Component: core Version: git master
Severity: Keywords:


This NULL-pointer dereference happens when plugin is not installed/found and configuration line for this plugin is beeing processed. In my case it was gui_new() returning NULL and then following gui_add_attr() resulted in NULL-pointer dereference. Fix this by checking if valid was created, before calling add_attr().

Attachments (1)

navit_fix_dereference.patch (544 bytes) - added by pauliusz 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by pauliusz

comment:1 Changed 13 years ago by kazer

  • Resolution set to fixed
  • Status changed from new to closed

Patch applied in rev 3003, thank you.

Note: See TracTickets for help on using tickets.