View Issue Details

IDProjectCategoryView StatusLast Update
0000085JVT JM H.264/AVC reference softwaredecoderpublic2007-11-29 12:54
ReporterLe Thanh Ha Assigned ToKarsten Suehring  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 13.0 
Fixed in VersionJM 13.1 
Summary0000085: Error on memory allocation for slice group
DescriptionAt line 389, parcet.c, in InterpretPPS function:
- if ((pps->slice_group_id = calloc ((pps->num_slice_group_map_units_minus1+1), 1)) == NULL)
It should be
- if ((pps->slice_group_id = calloc ((pps->num_slice_group_map_units_minus1+1)*sizeof(int), 1)) == NULL)
 
Because pps->slice_group_id is unsinged int*
 
This bug stops memory allocation in ldecod when multiple sending PPS
TagsNo tags attached.

Activities

Karsten Suehring

2007-11-29 12:54

administrator   ~0000132

slice_group_id should be an unsigned char. I have fixed that in my development tree.

Issue History

Date Modified Username Field Change
2007-11-28 11:41 Le Thanh Ha New Issue
2007-11-29 12:54 Karsten Suehring Status new => resolved
2007-11-29 12:54 Karsten Suehring Fixed in Version => JM-13.0-dev
2007-11-29 12:54 Karsten Suehring Resolution open => fixed
2007-11-29 12:54 Karsten Suehring Assigned To => Karsten Suehring
2007-11-29 12:54 Karsten Suehring Note Added: 0000132