[PATCH 8/8] test: dm: devres: Remove use-after-free

Tom Rini trini at konsulko.com
Fri Apr 29 20:03:53 CEST 2022


On Sun, Apr 03, 2022 at 10:39:15AM +0000, Andrew Scull wrote:

> Use-after-free shouldn't be used, even in tests. It's bad practice and
> makes the test brittle.
> 
> Signed-off-by: Andrew Scull <ascull at google.com>
> Cc: Simon Glass <sjg at chromium.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/82b36307/attachment.sig>


More information about the U-Boot mailing list