mirror of
https://github.com/tailix/kernel.git
synced 2025-04-21 17:42:20 -04:00
Additional check
This commit is contained in:
parent
0b55b533bd
commit
b574a64c83
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ unsigned char kernelmq_info_validate_and_copy(
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (!dest) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!cmdline_terminated(src->cmdline)) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue