NetBSD ships with strlcpy(3) and strlcat(3), a safe
replacement of strcpy(3) and strcat(3).
Hide both functions under SANITIZER_INTERCEPT_STRLCPY.
Sponsored by <The NetBSD Foundation>
|  Differential  D42061  
Add new interceptors: strlcpy(3) and strlcat(3) Authored by krytarowski on Jan 15 2018, 4:29 AM. 
Details NetBSD ships with strlcpy(3) and strlcat(3), a safe Hide both functions under SANITIZER_INTERCEPT_STRLCPY. Sponsored by <The NetBSD Foundation> 
Diff Detail 
 Event TimelineComment Actions tests? 
 
 
 
 Comment Actions Should be done. 
 
 
 
 
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
probably similar as above, but we need to "write" only appended part or we will hide bugs from msan if the beginning of the dst was not initialized.