Home
last modified time | relevance | path

Searched refs:overflow2 (Results 1 – 6 of 6) sorted by relevance

/PHP-5.4/ext/gd/libgd/
H A Dwbmp.c119 if (overflow2(sizeof (int), width)) { in createwbmp()
123 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
188 if (overflow2(sizeof (int), wbmp->width) || in readwbmp()
189 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
H A Dgd_security.c20 int overflow2(int a, int b) in overflow2() function
H A Dgdhelpers.h29 int overflow2(int a, int b);
H A Dgd_compat.h13 int overflow2(int a, int b);
H A Dgd.c128 if (overflow2(sx, sy)) { in gdImageCreate()
132 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate()
179 if (overflow2(sx, sy)) { in gdImageCreateTrueColor()
183 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreateTrueColor()
187 if (overflow2(sizeof(int), sx)) { in gdImageCreateTrueColor()
2357 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2360 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized()
2623 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon()
2641 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
/PHP-5.4/ext/gd/
H A Dgd.c1548 if (overflow2(font->nchars, font->h)) { in PHP_FUNCTION()
1554 if (overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()

Completed in 43 milliseconds