dschmidt commented on PR #2947: URL: https://github.com/apache/tika/pull/2947#issuecomment-4959529087
Good catch, fixed in 5a69b1568. The disk branch now reads the six known bytes when at least that much is declared and skips the remainder, so the walk always consumes exactly the declared length (padded 8-byte disk atoms now also yield the disc total instead of derailing the parse). To make sure the fix bites, the udta fixture gained an iTunes-style meta/mdir/ilst with a padded 8-byte disk atom followed by a title entry; without the guard the misaligned walk takes down the rest of the parse, which the test now pins. -- 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]
