aboutsummaryrefslogtreecommitdiff
path: root/elf/noload.c
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2025-01-28 22:35:21 +0000
committerJoseph Myers <josmyers@redhat.com>2025-01-28 22:35:21 +0000
commit0dcc0b2f63051863187dc678964eb17761b1a820 (patch)
treeb6a9d78ad868c01dad143e4f5160ec84443ca9c3 /elf/noload.c
parent94251ae99edaa911f4cb8056748dca0874ea268c (diff)
downloadglibc-0dcc0b2f63051863187dc678964eb17761b1a820.zip
glibc-0dcc0b2f63051863187dc678964eb17761b1a820.tar.gz
glibc-0dcc0b2f63051863187dc678964eb17761b1a820.tar.bz2
Fix fseek handling for mmap files after ungetc or fflush (bug 32529)
As discussed in bug 32529, fseek fails on files opened for reading using mmap after ungetc. The implementation of fseek for such files has an offset computation that's also incorrect after fflush. A combined fix addresses both problems (with tests for both included as well) and it seems reasonable to consider them a single bug. Tested for x86_64.
Diffstat (limited to 'elf/noload.c')
0 files changed, 0 insertions, 0 deletions