Searched refs:nelements (Results 1 – 2 of 2) sorted by relevance
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | cdf.c | 945 size_t i, o4, nelements, j, slen, left; in cdf_read_property_info() local 997 nelements = CDF_GETUINT32(q, 1); in cdf_read_property_info() 998 if (nelements > CDF_ELEMENT_LIMIT || nelements == 0) { in cdf_read_property_info() 1000 SIZE_T_FORMAT "u\n", nelements)); in cdf_read_property_info() 1005 nelements = 1; in cdf_read_property_info() 1035 if (nelements > 1) { in cdf_read_property_info() 1037 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info() 1042 for (j = 0; j < nelements && i < sh.sh_properties; in cdf_read_property_info()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1270 nelements = CDF_GETUINT32(q, 1); 1271 - if (nelements == 0) { 1272 - DPRINTF(("CDF_VECTOR with nelements == 0\n")); 1273 + if (nelements > CDF_ELEMENT_LIMIT || nelements == 0) { 1274 + DPRINTF(("CDF_VECTOR with nelements == %" 1275 + SIZE_T_FORMAT "u\n", nelements)); 1283 - DPRINTF(("nelements = %" SIZE_T_FORMAT "u\n", 1284 - nelements)); 1285 for (j = 0; j < nelements && i < sh.sh_properties;
|
Completed in 15 milliseconds