mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
fix tests
This commit is contained in:
parent
7f428cae88
commit
5f107ab8a6
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, in
|
||||||
if (gd2_compressed(*fmt)) {
|
if (gd2_compressed(*fmt)) {
|
||||||
nc = (*ncx) * (*ncy);
|
nc = (*ncx) * (*ncy);
|
||||||
GD2_DBG(php_gd_error("Reading %d chunk index entries", nc));
|
GD2_DBG(php_gd_error("Reading %d chunk index entries", nc));
|
||||||
if (overflow2(sidx, nc)) {
|
if (overflow2(sizeof(t_chunk_info), nc)) {
|
||||||
goto fail1;
|
goto fail1;
|
||||||
}
|
}
|
||||||
sidx = sizeof(t_chunk_info) * nc;
|
sidx = sizeof(t_chunk_info) * nc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue