shukitchan opened a new pull request, #13172:
URL: https://github.com/apache/trafficserver/pull/13172

   The hdrtoken heap allocated in hdrtoken_init() leaves padding bytes between 
each token's null terminator and the next prefix slot uninitialized, since 
ink_strlcpy only writes strlen+1 bytes but heap_ptr advances by sstr_len 
(rounded up to sizeof(HdrTokenHeapPrefix)). Switch to ats_calloc so the padding 
bytes are zeroed.
   
   This fixes the reported fuzzing issues
   https://oss-fuzz.com/testcase-detail/4669620266270720


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to