metsw24-max opened a new pull request, #1067: URL: https://github.com/apache/poi/pull/1067
XSSFTable currently narrows workbook-controlled table metadata from `long` to `int` using direct casts. Oversized values in header row counts, totals row counts, or table column counts can silently truncate into invalid integer values and propagate malformed internal table state. Replace these narrowing casts with `Math.toIntExact(...)` so oversized metadata is rejected deterministically instead of wrapping. Add regression coverage verifying that oversized table metadata values throw `ArithmeticException`. -- 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]
