Home
last modified time | relevance | path

Searched refs:nelements (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/fileinfo/libmagic/
H A Dcdf.c939 size_t i, o4, nelements, j, slen, left; in cdf_read_property_info() local
991 nelements = CDF_GETUINT32(q, 1); in cdf_read_property_info()
992 if (nelements > CDF_ELEMENT_LIMIT || nelements == 0) { in cdf_read_property_info()
994 SIZE_T_FORMAT "u\n", nelements)); in cdf_read_property_info()
999 nelements = 1; in cdf_read_property_info()
1029 if (nelements > 1) { in cdf_read_property_info()
1031 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info()
1036 for (j = 0; j < nelements && i < sh.sh_properties; in cdf_read_property_info()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch1570 nelements = CDF_GETUINT32(q, 1);
1571 - if (nelements == 0) {
1572 - DPRINTF(("CDF_VECTOR with nelements == 0\n"));
1573 + if (nelements > CDF_ELEMENT_LIMIT || nelements == 0) {
1574 + DPRINTF(("CDF_VECTOR with nelements == %"
1575 + SIZE_T_FORMAT "u\n", nelements));
1583 - DPRINTF(("nelements = %" SIZE_T_FORMAT "u\n",
1584 - nelements));
1585 for (j = 0; j < nelements && i < sh.sh_properties;

Completed in 12 milliseconds