mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
CPP: Fix the nulltermination test.
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
#define va_arg(x, y) ((y)x)
|
||||
#define va_end(x)
|
||||
#define NULL 0
|
||||
|
||||
char* strcat(char* destination, const char* source);
|
||||
char* strcpy(char* destination, const char* source);
|
||||
int strlen(const char* str);
|
||||
char* strcpy(char* destination, const char* source);
|
||||
|
||||
char* strstr(char* s1, const char* s2);
|
||||
const char* strchr(const char* s, int c);
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
char* global = " ";
|
||||
|
||||
void addNull(char* buffer) {
|
||||
buffer[0] = '\0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user