aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/Xprintf_buffer_flush.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-09-20 13:10:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-20 13:51:09 +0200
commit0cb64617a6f691b611406427c8e24b7f04c4983f (patch)
treee22f05a17f818fc6a36223909e145116cc73bf31 /stdio-common/Xprintf_buffer_flush.c
parent422ed8ede312f786369e4850e47b8d32beaae4e4 (diff)
downloadglibc-0cb64617a6f691b611406427c8e24b7f04c4983f.zip
glibc-0cb64617a6f691b611406427c8e24b7f04c4983f.tar.gz
glibc-0cb64617a6f691b611406427c8e24b7f04c4983f.tar.bz2
iconv: Do not use mmap in iconv (the program) (bug 17703)
On current systems, very large files are needed before mmap becomes beneficial. Simplify the implementation. This exposed that inptr was not initialized correctly in process_fd. Handling multiple input files resulted in EFAULT in read because a null pointer was passed. This could be observed previously if an input file was not mappable and was reported as bug 17703. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'stdio-common/Xprintf_buffer_flush.c')
0 files changed, 0 insertions, 0 deletions