Re: hashlib.c add NULL check for "string" parameter

2014-09-30 Thread Ángel González
Notes Jonny wrote: > On Mon, Sep 29, 2014 at 2:04 PM, Chet Ramey wrote: > > On 9/29/14, 8:22 AM, Notes Jonny wrote: > >> Hello > >> I noticed hash_search() did not check if "string" parameter was > >> non-NULL. Please find attached a patch for this. > > > > It's the caller's responsibility to ensu

Re: hashlib.c add NULL check for "string" parameter

2014-09-30 Thread Notes Jonny
On Mon, Sep 29, 2014 at 2:04 PM, Chet Ramey wrote: > On 9/29/14, 8:22 AM, Notes Jonny wrote: >> Hello >> I noticed hash_search() did not check if "string" parameter was >> non-NULL. Please find attached a patch for this. > > It's the caller's responsibility to ensure that the string passed to > ha

Re: hashlib.c add NULL check for "string" parameter

2014-09-29 Thread Chet Ramey
On 9/29/14, 8:22 AM, Notes Jonny wrote: > Hello > I noticed hash_search() did not check if "string" parameter was > non-NULL. Please find attached a patch for this. It's the caller's responsibility to ensure that the string passed to hash_search is non-NULL. Chet -- ``The lyf so short, the craf