String: Improve overflow test coverage for strnlen
commit7597b251d451fa099686344bbd9915bd481ba55b
authorSunil K Pandey <skpgkp2@gmail.com>
Wed, 25 May 2022 20:43:36 +0000 (25 13:43 -0700)
committerSunil K Pandey <skpgkp2@gmail.com>
Wed, 25 May 2022 21:23:54 +0000 (25 14:23 -0700)
tree117a5daa347bd804554ded3cf07fc50301b3f0b2
parent3d9926663cba19f40d26d8a8ab3b2a7cc09ffb13
String: Improve overflow test coverage for strnlen

This patch adds more overflow test coverage for strnlen and wcsnlen.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
string/test-strnlen.c