JakeChampion opened a new pull request, #14138: URL: https://github.com/apache/trafficserver/pull/14138
`TSMimeHdrFieldValueStringSet`, `...Insert`, and `TSMimeHdrFieldValueAppend` with an index split the old value into a list and then allocate the new value. If that allocation coalesces the string heaps, the list cells can point at freed memory, and the new value gets its bytes. The guard was on the first list cell, which is the caller's string after a change at index 0. The mutators now guard the old value and the new piece. The new unit test fails without the fix. -- 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]
