mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Kernel: Don't trust user-supplied bool in sys$stat
Found by fuzz-syscalls. Can be reproduced by running this in the Shell:
$ syscall stat [ Desktop 7 buf 2 ]
Fixes #5316.
This commit is contained in:
committed by
Andreas Kling
parent
c73dfe5bf6
commit
add94aebfa
@@ -432,7 +432,7 @@ struct SC_waitid_params {
|
||||
struct SC_stat_params {
|
||||
StringArgument path;
|
||||
struct stat* statbuf;
|
||||
bool follow_symlinks;
|
||||
int follow_symlinks;
|
||||
};
|
||||
|
||||
struct SC_ptrace_params {
|
||||
|
||||
Reference in New Issue
Block a user