Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 621600 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/lib/openjp2/pi.c (-2 / +1 lines)
Lines 1241-1247 opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image, Link Here
1241
	l_current_pi->include = 00;
1241
	l_current_pi->include = 00;
1242
	if (l_step_l <= (SIZE_MAX / (l_tcp->numlayers + 1U)))
1242
	if (l_step_l <= (SIZE_MAX / (l_tcp->numlayers + 1U)))
1243
	{
1243
	{
1244
		l_current_pi->include = (OPJ_INT16*) opj_calloc((l_tcp->numlayers +1) * l_step_l, sizeof(OPJ_INT16));
1244
		l_current_pi->include = (OPJ_INT16*) opj_calloc((size_t)(l_tcp->numlayers + 1U) * l_step_l, sizeof(OPJ_INT16));
1245
	}
1245
	}
1246
1246
1247
	if
1247
	if
1248
- 

Return to bug 621600