Re: [PATCH] perf tools: fix handling read result

From: Arnaldo Carvalho de Melo
Date: Tue Oct 06 2015 - 09:40:32 EST


Em Tue, Oct 06, 2015 at 11:00:17AM +0200, Andrzej Hajda escreveu:
> The function can return negative value, assigning it to unsigned
> variable can cause memory corruption.
>
> The problem has been detected using proposed semantic patch
> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
>
> [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Thanks, applied.

- Arnaldo
--
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/