Searched refs:overflow2 (Results 1 – 9 of 9) sorted by relevance
/PHP-5.5/ext/gd/libgd/ |
H A D | wbmp.c | 119 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 D | gd_security.c | 20 int overflow2(int a, int b) in overflow2() function
|
H A D | gdhelpers.h | 29 int overflow2(int a, int b);
|
H A D | gd.c | 128 if (overflow2(sx, sy)) { in gdImageCreate() 132 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate() 136 if (overflow2(sizeof(unsigned char *), sx)) { in gdImageCreate() 185 if (overflow2(sx, sy)) { in gdImageCreateTrueColor() 189 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreateTrueColor() 193 if (overflow2(sizeof(int *), sx)) { in gdImageCreateTrueColor() 2367 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized() 2370 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized() 2632 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon() 2650 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
|
H A D | gd_gd2.c | 141 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
|
H A D | gd_interpolation.c | 893 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc() 903 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
|
/PHP-5.5/ext/gd/ |
H A D | gd_compat.h | 12 int overflow2(int a, int b);
|
H A D | gd_compat.c | 49 int overflow2(int a, int b) in overflow2() function
|
H A D | gd.c | 1470 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
|
Completed in 49 milliseconds