manuzhang opened a new issue, #15922:
URL: https://github.com/apache/iceberg/issues/15922

   ### Apache Iceberg version
   
   main (development)
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   `FileRange` currently validates `length()` and `offset()` before assigning 
constructor parameters to fields. Because those getters return default field 
values at that point, negative constructor inputs can bypass validation.
   
   This allows malformed ranges to propagate into vectored reads and trigger 
runtime failures.
   
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


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