[PATCH] lib: kasan: kasan_test: hide buggy access after xzalloc from compiler

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 24 01:07:00 PDT 2024


On Mon, 22 Jul 2024 18:26:35 +0200, Ahmad Fatoum wrote:
> Commit 187b85361236 ("KASan: test_kasan: hide buggy accesses from
> compiler") used OPTIMIZER_HIDE_VAR() to hide the origin of pointers.
> 
> This became necessary when __alloc attributes were added to malloc().
> We now add the same attributes to xzalloc as well bring back warnings
> for the single xzalloc call in the file.
> 
> [...]

Applied, thanks!

[1/1] lib: kasan: kasan_test: hide buggy access after xzalloc from compiler
      https://git.pengutronix.de/cgit/barebox/commit/?id=f5e54a0274fe (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list