[LTP] [PATCH 1/3] tst_netdevice: Add missing rtnetlink context allocation checks
Cyril Hrubis
chrubis@suse.cz
Fri Jul 28 10:45:52 CEST 2023
Hi!
> The tst_brk_() gets called by the safe_*() functions deeper in the call
> tree. But tst_netdevice functions may be called from cleanup() where
> explicit return is necessary even after tst_brk_().
Ah, missed that. Checked once more and indeed it all ends up tst_brk_()
deeper in the call chain, or calls safe_malloc/safe_realloc.
For both patches:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list