metsw24-max opened a new pull request, #1122:
URL: https://github.com/apache/poi/pull/1122

   **Signed font-description length in OldFfn**
   
   The length byte for a Word 6/95 font record is read as a signed `byte`, so a 
description of 128 bytes or more turns negative and slips past the table-end 
guard. A record that large then loses its alternate font name and reports the 
wrong record length, so the remaining font table is parsed from the wrong 
offset. The newer `Ffn` reader already takes the equivalent `cbFfnM1` field 
through `getUByte`, so this keeps `OldFfn` consistent with it.


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