Re: [PATCH] x86: mkpiggy.c: fix resource leakage
From: Geyslan GregÃrio Bem
Date: Mon Oct 07 2013 - 19:41:14 EST
Peter,
Yes, Really doesn't have leakage, I explained it. The changes are just
to cleanup the code following a secure pattern.
Geyslan GregÃrio Bem
hackingbits.com
2013/10/7 H. Peter Anvin <hpa@xxxxxxxxx>:
> On 10/07/2013 03:16 PM, Geyslan G. Bem wrote:
>> Even though the resource is released when the application is closed or
>> when returned from main function, modified to make it in accordance.
>> Now FILE pointer is always verified.
>
> By the way, the subject is misleading - there is no resource leakage
> since the program is terminated anyway.
>
> -hpa
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/