Searched refs:l_nb_precinct_size (Results 1 – 6 of 6) sorted by relevance
12 +0017-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_precinct_size|.30 l_nb_precinct_size = l_nb_precincts * (OPJ_UINT32)sizeof(opj_tcd_precinct_t);
7 0017-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_precinct_size|.
685 OPJ_UINT32 l_nb_precinct_size; in opj_tcd_init_tile() local840 l_nb_precinct_size = l_nb_precincts * (OPJ_UINT32)sizeof(opj_tcd_precinct_t); in opj_tcd_init_tile()895 l_band->precincts = (opj_tcd_precinct_t *) opj_malloc( /*3 * */ l_nb_precinct_size); in opj_tcd_init_tile()900 memset(l_band->precincts,0,l_nb_precinct_size); in opj_tcd_init_tile()901 l_band->precincts_data_size = l_nb_precinct_size; in opj_tcd_init_tile()903 else if (l_band->precincts_data_size < l_nb_precinct_size) { in opj_tcd_init_tile()905 … new_precincts = (opj_tcd_precinct_t *) opj_realloc(l_band->precincts,/*3 * */ l_nb_precinct_size); in opj_tcd_init_tile()915 …memset(((OPJ_BYTE *) l_band->precincts) + l_band->precincts_data_size,0,l_nb_precinct_size - l_ban… in opj_tcd_init_tile()916 l_band->precincts_data_size = l_nb_precinct_size; in opj_tcd_init_tile()
11 0017-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_precinct_size|.
6 0017-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_precinct_size|.
29 0017-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_precinct_size|.