Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1240445

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

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf tools: fix handling read result
Date 2015-10-06 15:50 +0200
Message-ID <qgAMW-7L3-27@gated-at.bofh.it> (permalink)
References <qgwpY-1Fi-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf tools: fix handling read result Andrzej Hajda <a.hajda@samsung.com> - 2015-10-06 11:10 +0200
  Re: [PATCH] perf tools: fix handling read result Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-06 15:50 +0200
  [tip:perf/core] perf tools:   Fix handling read result using a signed variable tip-bot for Andrzej Hajda <tipbot@zytor.com> - 2015-10-08 11:50 +0200

csiph-web