Re: [PATCH] staging: dgap: fix memory leak in dgap_parsefile()
On Wed, Sep 30, 2015 at 11:39:45AM +0530, Ronit Halder wrote: > In dgap_parsefile() char pointers are set with kstrdup() > without checking that some string is allocated to that > char pointer before.
Why would this happen? Wouldn't it be better to reject the invalid config file?