Searched refs:overflow2 (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/gd/ |
H A D | gd_compat.h | 5 int overflow2(int a, int b);
|
H A D | gd_compat.c | 10 int overflow2(int a, int b) in overflow2() function
|
H A D | gd.c | 104 int overflow2(int a, int b); 578 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION() 590 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
|
/php-src/ext/gd/libgd/ |
H A D | gd_security.c | 21 int overflow2(int a, int b) in overflow2() function
|
H A D | wbmp.c | 120 if (overflow2(sizeof (int), width)) { in createwbmp() 124 if (overflow2(sizeof (int) * width, height)) { in createwbmp() 192 if (overflow2(sizeof (int), wbmp->width) || in readwbmp() 193 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
|
H A D | gdhelpers.h | 29 int overflow2(int a, int b);
|
H A D | gd_tga.c | 221 if(overflow2(tga->width, tga->height)) { in read_image_tga() 225 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga() 230 if(overflow2(image_block_size, sizeof(int))) { in read_image_tga()
|
H A D | gd_webp.c | 125 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx() 129 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
|
H A D | gd.c | 146 if (overflow2(sx, sy)) { in gdImageCreate() 149 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate() 152 if (overflow2(sizeof(unsigned char), sx)) { in gdImageCreate() 200 if (overflow2(sx, sy)) { in gdImageCreateTrueColor() 203 if (overflow2(sizeof(int *), sy)) { in gdImageCreateTrueColor() 206 if (overflow2(sizeof(int), sx)) { in gdImageCreateTrueColor() 2496 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized() 2499 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized() 2743 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon() 2761 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon() [all …]
|
H A D | gd_gd2.c | 140 if (overflow2(*ncx, *ncy)) { in _gd2GetHeader() 146 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
|
H A D | gd_avif.c | 516 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx()
|
H A D | gd_interpolation.c | 818 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc() 829 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()
|
Completed in 65 milliseconds