Please sign in to comment.
batman-adv: Only write requested number of byte to user buffer
Don't write more than the requested number of bytes of an batman-adv icmp packet to the userspace buffer. Otherwise unrelated userspace memory might get overridden by the kernel. Signed-off-by: Sven Eckelmann <firstname.lastname@example.org> Signed-off-by: Marek Lindner <email@example.com>
- Loading branch information...