Please sign in to comment.
libertas: potential oops in debugfs
If we do a zero size allocation then it will oops. Also we can't be sure the user passes us a NUL terminated string so I've added a terminator. This code can only be triggered by root. Reported-by: Nico Golde <firstname.lastname@example.org> Reported-by: Fabian Yamaguchi <email@example.com> Signed-off-by: Dan Carpenter <firstname.lastname@example.org> Acked-by: Dan Williams <email@example.com> Signed-off-by: John W. Linville <firstname.lastname@example.org>
- Loading branch information...
Showing with 5 additions and 1 deletion.