Re: [PATCH 14/40] staging: lustre: fix crash due to NULL networks string

2015-12-02 Thread Dan Carpenter
This feels like we are fixing a bug introduce in PATCH 11 when we removed a NULL check. Don't introduce bugs and then fix them in the same patchset; the fix has to be folded into the original patch. regards, dan carpenter ___ devel mailing list de...@l

[PATCH 14/40] staging: lustre: fix crash due to NULL networks string

2015-11-20 Thread James Simmons
From: Amir Shehata If there is an invalid networks or ip2nets lnet_parse_networks() gets called with a NULL 'network' string parameter lnet_parse_networks() needs to sanitize its input string now that it's being called from multiple places. Instead, check for a NULL string everytime the functio