]> git.baikalelectronics.ru Git - uboot.git/commit
Merge branch '2022-04-29-fuzzing-and-asan-fixes'
authorTom Rini <trini@konsulko.com>
Fri, 29 Apr 2022 15:25:06 +0000 (11:25 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 29 Apr 2022 15:25:06 +0000 (11:25 -0400)
commitf2ef7721b26ac13c5c0384839d795b91d81a82eb
treef830de0295223e3d938244e60e80a89cdc7f3e91
parent80d188e1b18edb9ee57ac1d2f3440fc25dc0a3b0
parent551e54584b65758d18cf776e0e707fa7b7322ee5
Merge branch '2022-04-29-fuzzing-and-asan-fixes'

To quote the author:

I've been experimenting with ASAN on sandbox and turned up a few issues
that are fixed in this series.

Basic ASAN was easy to turn on, but integrating with dlmalloc was
messier and fairly intrusive. Even when I had it working, there was only
a small redzone between allocations which limits the usefulness.

I saw another series on the list by Sean Anderson to enable valgrind
which was finding a different set of issues, though there was one
overlap that Sean is fixing with
"[PATCH] IOMUX: Fix access past end of console_devices".

With these issues fixed, I was able to run the dm tests without any ASAN
issues. There are a couple of leaks reported at the end, but that's for
another day.