]> sourceware.org Git - glibc.git/commit
string: strerror must not return NULL (bug 30555)
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Jun 2023 10:08:22 +0000 (12:08 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 15 Jun 2023 17:54:09 +0000 (19:54 +0200)
commit1d44530a5be2442e064baa48139adc9fdfb1fc6b
tree99321e32c7e27993de27c359e2022afe1fdf8c91
parent388ae538ddcb05c7d8966147b488a5f6e481656e
string: strerror must not return NULL (bug 30555)

For strerror, this fixes commit 28aff047818eb1726394296d27b ("string:
Implement strerror in terms of strerror_l").  This commit avoids
returning NULL for strerror_l as well, although POSIX allows this
behavior for strerror_l.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
string/Makefile
string/strerror_l.c
string/tst-strerror-fail.c [new file with mode: 0644]
This page took 0.040937 seconds and 5 git commands to generate.