forked from mirrors/gecko-dev
Reformatting this directory can break some of the tests here. Differential Revision: https://phabricator.services.mozilla.com/D13518
9 lines
192 B
C++
9 lines
192 B
C++
// https://clang-analyzer.llvm.org/available_checks.html
|
|
|
|
#include "structures.h"
|
|
|
|
void test()
|
|
{
|
|
char dest[3];
|
|
strncat(dest, "***", sizeof(dest)); // warning : potential buffer overflow
|
|
}
|