History

Add strncat and strrchr to bounds checking

herman ten brugge committed 3 years ago

Commit 28fa4d31 parent f48efee6 files · +89 −7Browse files

Showing the changes to include (1 of 6 files). Show all

Unified · Split

include/tccdefs.h+2−0
@@ -269,7 +269,9 @@ · 268 unmodified lines
269 __BOTH(int, strcmp, (const char*, const char*))269 __BOTH(int, strcmp, (const char*, const char*))
270 __BOTH(int, strncmp, (const char*, const char*, __SIZE_TYPE__))270 __BOTH(int, strncmp, (const char*, const char*, __SIZE_TYPE__))
271 __BOTH(char*, strcat, (char*, const char*))271 __BOTH(char*, strcat, (char*, const char*))
272 __BOTH(char*, strncat, (char*, const char*, __SIZE_TYPE__))
272 __BOTH(char*, strchr, (const char*, int))273 __BOTH(char*, strchr, (const char*, int))
274 __BOTH(char*, strrchr, (const char*, int))
273 __BOTH(char*, strdup, (const char*))275 __BOTH(char*, strdup, (const char*))
274#if defined __ARM_EABI__276#if defined __ARM_EABI__
275 __BOUND(void*,__aeabi_memcpy,(void*,const void*,__SIZE_TYPE__))277 __BOUND(void*,__aeabi_memcpy,(void*,const void*,__SIZE_TYPE__))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t