bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Check malloc return values


From: Chet Ramey
Subject: Re: [PATCH] Check malloc return values
Date: Fri, 20 Feb 2015 08:50:49 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/19/15 4:03 PM, Tobias Stoeckmann wrote:
> These functions would lead to segmentation faults in case of malloc
> failures. Therefore, the return values have to be checked for NULL.

Thanks for the report.

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]