]> git.ipfire.org Git - thirdparty/glibc.git/commit
mach: Fix __xpg_strerror_r on in-range but undefined errors [BZ #32350]
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 9 Nov 2024 18:54:08 +0000 (19:54 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 9 Nov 2024 19:00:40 +0000 (20:00 +0100)
commitd2e65aa7d6a6434672abcaecd61877bfa78eeb1d
treec840374e9ded5558bd91dd84eeeff2a860fb72f3
parent6754b5becf403a3c6b95a0ebd829edf8e4d83251
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