Skip to content

Commit c5a082f

Browse files
committed
C++: Fix CWE-022
1 parent 0fcabc4 commit c5a082f

File tree

1 file changed

+1
-0
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-022/semmle/tests

1 file changed

+1
-0
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-022/semmle/tests/stdlib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ void *malloc(size_t size);
1717
double strtod(const char *ptr, char **endptr);
1818
char *getenv(const char *name);
1919
ssize_t read(int fd, void *buffer, size_t count);
20+
int snprintf(char *s, size_t n, const char *format, ...);

0 commit comments

Comments
 (0)