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