Please sign in to comment.
staging: wlags49_h2: buffer overflow setting station name
We need to check the length parameter before doing the memcpy(). I've actually changed it to strlcpy() as well so that it's NUL terminated. You need CAP_NET_ADMIN to trigger these so it's not the end of the world. Reported-by: Nico Golde <firstname.lastname@example.org> Reported-by: Fabian Yamaguchi <email@example.com> Signed-off-by: Dan Carpenter <firstname.lastname@example.org> Cc: email@example.com Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...