jmestwa-coder opened a new pull request, #50025:
URL: https://github.com/apache/arrow/pull/50025

   FormatStatValue in cpp/src/parquet/types.cc memcpys sizeof(physical_type) 
bytes from a string_view that comes straight out of the Thrift statistics 
block, so a crafted file with min_value or max_value shorter than the column's 
width (for example, a zero-byte stat on an INT96 column) reads past the buffer. 
The check belongs in this callee since callers in printer.cc just forward 
whatever the metadata holds. New ASSERT_THROW coverage in types_test.cc 
exercises the short-value paths for BOOLEAN, INT32, INT64, FLOAT, DOUBLE, 
INT96, Decimal and Float16.


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