Searched refs:l_newCount (Results 1 – 1 of 1) sorted by relevance
3542 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm() local3545 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()3550 l_cp->ppm_markers_count = l_newCount; in opj_j2k_read_ppm()3552 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm() local3554 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, l_newCount * sizeof(opj_ppx)); in opj_j2k_read_ppm()3561 …memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, (l_newCount - l_cp->ppm_markers_count) * si… in opj_j2k_read_ppm()3562 l_cp->ppm_markers_count = l_newCount; in opj_j2k_read_ppm()3764 OPJ_UINT32 l_newCount = l_Z_ppt + 1U; /* can't overflow, l_Z_ppt is UINT8 */ in opj_j2k_read_ppt() local3767 l_tcp->ppt_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppt()3772 l_tcp->ppt_markers_count = l_newCount; in opj_j2k_read_ppt()[all …]