-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Filesystem API
-
None
-
Storage Engines
-
3
-
StorEng - 2024-12-24
Argument cannot be negative
The negative argument will be interpreted as a very large unsigned value. Negative value used as argument to a function expecting a positive value (for example, size of buffer or allocation)
/src/live_restore/live_restore_fs.c:765: NEGATIVE_RETURNS 163858 Variable "fd" tests negative.
/src/live_restore/live_restore_fs.c:802: NEGATIVE_RETURNS 163858 "fd" is passed to a parameter that cannot be negative.