From 1d44530a5be2442e064baa48139adc9fdfb1fc6b Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 15 Jun 2023 12:08:22 +0200 Subject: 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 --- string/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'string/Makefile') diff --git a/string/Makefile b/string/Makefile index 0ad276cc6a..d3106d10a9 100644 --- a/string/Makefile +++ b/string/Makefile @@ -178,6 +178,7 @@ tests := \ tst-endian \ tst-inlcall \ tst-memmove-overflow \ + tst-strerror-fail \ tst-strfry \ tst-strlcat \ tst-strlcpy \ -- cgit v1.2.3