bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Chet Ramey
Subject: Re: hashlib.c add NULL check for "string" parameter
Date: Mon, 29 Sep 2014 09:04:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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 craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]