mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
batman-adv: annotate functions which may reallocate the skbuff
When a function is called which reallocated the skbuff, it is necessary to reacquire the pointers into the skb data. Otherwise they might cause an use-after-free. But is hard to identify such case when it is not clear that helpers are actually using skb-reallocating functions. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
104570fe64
commit
ed00ac0be8
8 changed files with 101 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue