Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printk: fix invalid-free on devkmsg_write()
Now buf is allocated on stack and thus doesn't need to be freed. This leftover would cause undefined behaviour. Fixes: 9ec4ab41a8b5c ("printk: use buffer from the stack space") Signed-off-by: xNombre <kartapolska@gmail.com> Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Signed-off-by: celtare21 <celtare21@gmail.com> Signed-off-by: engstk <eng.stk@sapo.pt>
- Loading branch information