Searched refs:sst_len (Results 1 – 3 of 3) sorted by relevance
/PHP-5.4/ext/fileinfo/libmagic/ |
H A D | cdf.c | 288 ss * sst->sst_len, ss, sst->sst_len)); in cdf_check_stream_offset() 504 if (scn->sst_len == (size_t)-1) in cdf_read_long_sector_chain() 507 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_long_sector_chain() 517 if (i >= scn->sst_len) { in cdf_read_long_sector_chain() 520 scn->sst_len)); in cdf_read_long_sector_chain() 526 if (i == scn->sst_len - 1 && nr > 0) { in cdf_read_long_sector_chain() 553 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_short_sector_chain() 563 if (i >= scn->sst_len) { in cdf_read_short_sector_chain() 566 i, scn->sst_len)); in cdf_read_short_sector_chain() 716 scn->sst_len = 0; in cdf_read_short_stream() [all …]
|
H A D | cdf.h | 136 size_t sst_len; member
|
/PHP-5.4/ext/fileinfo/ |
H A D | libmagic.patch | 910 - if (e >= b && (size_t)(e - b) <= CDF_SEC_SIZE(h) * sst->sst_len) 911 + if (e >= b && (size_t)(e - b) <= ss * sst->sst_len) 916 - CDF_SEC_SIZE(h) * sst->sst_len, CDF_SEC_SIZE(h), sst->sst_len)); 917 + ss * sst->sst_len, ss, sst->sst_len)); 937 - if (pos > CDF_SEC_SIZE(h) * sst->sst_len) { 938 + if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { 941 - pos, CDF_SEC_SIZE(h) * sst->sst_len)); 942 + pos + len, CDF_SEC_SIZE(h) * sst->sst_len));
|
Completed in 19 milliseconds