Revision 1973,
613 bytes
checked in by munepi, 14 years ago
(diff) |
texlive: rebuilt zlib-1.2.5; applied security patches and some patches for libpoppler-0.12
|
-
a
|
b
|
|
297 | 297 | static int omega_specials = 0; |
298 | 298 | |
299 | 299 | if (nextstring + numbytes > maxstring) { |
| 300 | if (numbytes < 0 |
| 301 | || (numbytes > 0 && 2 > INT_MAX / numbytes) |
| 302 | || 2 * numbytes > 1000 + 2 * numbytes) { |
| 303 | error("! Integer overflow in predospecial"); |
| 304 | exit(1); |
| 305 | } |
300 | 306 | p = nextstring = mymalloc(1000 + 2 * numbytes) ; |
301 | 307 | maxstring = nextstring + 2 * numbytes + 700 ; |
302 | 308 | } |
Note: See
TracBrowser
for help on using the repository browser.