Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comparison between unsigned subtraction and the value 0
Fixes a false positive critical security bug revealed by codeql in code-scanning/30. Since it is established before this check that the size does not excede the the free_space, the check is changed to make sure `free_space - size` does not result in 0 free_space, else `should_gc` should be true. Signed-off-by: Winford <[email protected]>
- Loading branch information