mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
These were due to several functions occurring that would have the same TRAP key. By making the functions static the TRAP keys will differ from each other.
16 lines
337 B
C
16 lines
337 B
C
int atoi(const char*);
|
|
|
|
static int f(int argc, char** argv)
|
|
{
|
|
char* matrix[argc][atoi(argv[1])];
|
|
return 0;
|
|
}
|
|
|
|
int getInt(void);
|
|
|
|
void vla_typedef(void) {
|
|
typedef char myType[10 * 4][3 + getInt()][3][90 * getInt()];
|
|
myType var;
|
|
char c1, c2 = 'x', buf[10 * 4][2 + getInt()][3][80 * getInt()], buf2[getInt()], *ptr = buf;
|
|
}
|