Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If g_mapped_file_get_length returns 0 or SIZE_MAX, the loop does not get executed and ret does not get set Move the assignment out of the loop and change to while loop. Found with GCC's -fanalyzer. Signed-off-by: Rosen Penev <[email protected]>
- Loading branch information