Ok, this time I ran it with an /etc/preinit.d directory and a couple of scripts. Found some double free's and some issues in the part where system() is called, some error paths could either leak or double free. With the deep nesting this code is quite hard to follow.

Patch against preinit.v3 is attached.


Attachments
116227-patch (118 downloads)

_________________________
40GB - serial #40104051 gpsapp