git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 24 Sep 2024 19:46:16 +0000 (21:46 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 24 Sep 2024 19:46:16 +0000 (21:46 +0200)
commitb3b4f83a394462ff12a1d2e264f2378714333c8b
tree97e0f5d448cc3805fd75b9dfcdb4288d143fdee3
parent407753ad1e8436c1c266c05c7a7047ab6c2621aa
git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703

commit 49449cbb3580bbdfb2e17fb5140db54496928219
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Sep 20 13:10:54 2024 +0200

    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>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703.patch
iconv/iconv_prog.c