On 11/10/2016 22:11, Andrew Cooper wrote:
>
>>> Another interesting new warning that is fatal with -Werror is
>>>     if(a)
>>>         foo();
>>>         bar();
>>>
>>> gcc warns that bar() is indented and maybe braces are needed.
>> Do we actually have cases like this ?
> Yes
>
>>   Are they real bugs ?
> Very much yes.
>
> goto fail;

Oh - it appears that CVE-2014-1266 was the impetus for introducing
-Wmisleading-indentation in the first place.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to