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

Re: [libvirt] [PATCH] lxcFreezeContainer: avoid test-after-deref of never-NULL pointer



On 05/17/2010 11:53 AM, Jim Meyering wrote:
>> Very good idea.
>> Here's a patch to do that.
>> With this, "make sc_avoid_if_before_free" (part of make syntax-check)
>> will now prevent any new useless checks.
>> The above was the sole offender.
> 
> Actually, this is just the tip of the iceberg.
> A couple minutes work have shown that there are many more:
> 
> Running this shows there are potentially at least 100
> candidate functions:
> 
>   aid free|grep '^vi'

aid?  Cool alias/shell script on just your machine?

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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