sahvx655-wq commented on PR #63910:
URL: https://github.com/apache/doris/pull/63910#issuecomment-4582552854

   Updated the description with the problem, the exact overflow path, and the 
fix. Short version: the large-block length is bounds-checked but each small 
block's uncompressed length comes from its own snappy header and goes straight 
into RawUncompress (no capacity arg), so a crafted block can write past the 
output buffer. The patch checks the per-block length against the remaining 
output before decompressing.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to