Summary: | Integer overflow | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | roucaries.bastien+gs |
Component: | PS Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 9.05 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
roucaries.bastien+gs
2012-07-23 14:12:27 UTC
Large stacks don't mean that arrays can be large too. The size of the array is currently limited by the short field in the ref structure, which stores object length. We want to increase maximum object sizes but this change is not planned for the upcoming release. This patch just checks the array size and throws /limitcheck error if the array length exceeds 65535 elements. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=61fd8053c2c0b653df3d461b791ca3f61767c4f5 |