diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-03 22:51:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-03 23:01:14 +0200 |
commit | bf1ad160788e396987a0969626e6c05649943581 (patch) | |
tree | 0fde290cc119aba7d3beb0c526a7e49116e6f561 /Ports/AvailablePorts.md | |
parent | 64d4921f3539036ff8cb4789be88c47a6087aa1f (diff) | |
download | serenity-bf1ad160788e396987a0969626e6c05649943581.zip |
LibC: Fix FILE::flush() passing bogus arguments to lseek()
This was a regression from the 64-bit off_t changes.
When dropping buffered data after a flush, we would subtract the
buffered amount from zero to get the seek offset. This didn't work
right since the subtraction was done with a 32-bit size_t and we
ended up with e.g (i64)0xfffffffc as the offset.
Fixes #6003.
Diffstat (limited to 'Ports/AvailablePorts.md')
0 files changed, 0 insertions, 0 deletions