Skip to content
Commit f1c7ed08 authored by Mahesh Bodapati's avatar Mahesh Bodapati Committed by Rajalakshmi Srinivasaraghavan
Browse files

string: Fix tester build with fortify enable with gcc < 12



When building with fortify enabled, GCC < 12 issues a warning on the
fortify strncat wrapper might overflow the destination buffer (the
failure is tied to -Werror).

Checked on ppc64 and x86_64.
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent f5f96b78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment