[Bug other/93641] Wrong strncmp and strncasecmp size arguments
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 10 19:32:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93641
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <iains@gcc.gnu.org>:
https://gcc.gnu.org/g:c88ffcc6f4f46223c219014729f33f6cb9649928
commit r10-6561-gc88ffcc6f4f46223c219014729f33f6cb9649928
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Mon Feb 10 20:29:30 2020 +0100
Darwin: -Wformat-diag fix (PR93641)
The length used for the comparison for 'CFStringRef' was only comparing
for 'CFString', potentially allowing mismatched identifiers.
2020-02-10 Iain Sandoe <iain@sandoe.co.uk>
PR other/93641
* config/darwin-c.c (darwin_cfstring_ref_p): Fix up last
argument of strncmp.
More information about the Gcc-bugs
mailing list