]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio-common: Silence clang -Wfortify-source warning in tst-vfscanf-bz34008 master
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 May 2026 14:07:26 +0000 (11:07 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 May 2026 14:08:31 +0000 (11:08 -0300)
commitd9981b54396038bb85f3b2db7b68de1f6755530b
treef2faa5c5f33f82d27e245fdc5dffede1fcb0ead6
parent1172d0e9cfed3b9c3d225b83898c71cd18879688
stdio-common: Silence clang -Wfortify-source warning in tst-vfscanf-bz34008

clang does not recognize the 'm' scanf specifier and incorrectly warns
that the buf argument may overflow.  Suppress the warning with the
clang-specific DIAG_* macros.
stdio-common/tst-vfscanf-bz34008.c