[Bug hurd/32350] function __xpg_strerror_r crashes for specific arguments

dilfridge at gentoo dot org sourceware-bugzilla@sourceware.org
Fri Dec 20 22:29:13 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=32350

Andreas K. Huettel <dilfridge at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |dilfridge at gentoo dot org
   Target Milestone|---                         |2.41

--- Comment #3 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
commit d2e65aa7d6a6434672abcaecd61877bfa78eeb1d
Author:     Samuel Thibault <samuel.thibault@ens-lyon.org>
AuthorDate: Sat Nov 9 19:54:08 2024 +0100
Commit:     Samuel Thibault <samuel.thibault@ens-lyon.org>
CommitDate: Sat Nov 9 20:00:40 2024 +0100

    mach: Fix __xpg_strerror_r on in-range but undefined errors [BZ #32350]

    For instance, 1073741906 leads to system 16, subsystem 0 and code 82,
    which is in range (max_code is 122), but not defined. Return EINVAL in
    that case, like

 sysdeps/mach/xpg-strerror.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

Fixed in 2.41

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list