mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 22:25:07 +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:
parent
c73dfe5bf6
commit
add94aebfa
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue