Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
DREADME.pdfium22 0019-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_code_blocks_size|.
Dtcd.c752 OPJ_UINT32 l_nb_code_blocks_size; in opj_tcd_init_tile() local
1100 l_nb_code_blocks_size = l_nb_code_blocks * (OPJ_UINT32)sizeof_block; in opj_tcd_init_tile()
1103 l_current_precinct->cblks.blocks = opj_malloc(l_nb_code_blocks_size); in opj_tcd_init_tile()
1109 memset(l_current_precinct->cblks.blocks, 0, l_nb_code_blocks_size); in opj_tcd_init_tile()
1111 l_current_precinct->block_size = l_nb_code_blocks_size; in opj_tcd_init_tile()
1112 } else if (l_nb_code_blocks_size > l_current_precinct->block_size) { in opj_tcd_init_tile()
1114 l_nb_code_blocks_size); in opj_tcd_init_tile()
1129 , l_nb_code_blocks_size - l_current_precinct->block_size); in opj_tcd_init_tile()
1131 l_current_precinct->block_size = l_nb_code_blocks_size; in opj_tcd_init_tile()