dschmidt opened a new pull request, #3547:
URL: https://github.com/apache/tika/pull/3547

   `TikaMp4Reader` stopped the box walk at any box declaring more than 
`Integer.MAX_VALUE` bytes, before deciding whether the box is read or only 
skipped. A file with an `mdat` over 2 GB in front of `moov`, as cameras often 
write them, lost all metadata after it.
   
   The limit now only applies to boxes that are read into memory, which 
`maxBoxSize` already caps. Skipped boxes are advanced past whatever their size.
   
   Test: a stream with a 3 GB largesize `mdat` (served as virtual zeros, 
nothing allocated) followed by `ftyp`; the major brand was null before and is 
read now.
   
   https://issues.apache.org/jira/browse/TIKA-5051
   


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