lsb

error in headers on pointer to array

Bug #1327348 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
Fix Released
Medium
Unassigned
Mandriva
Fix Released
Medium

Bug Description

Current upstream (using jpeg-turbo) sees this field declaration in
jpeg_decompress_struct:

  int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */

LSB defines this as:

  int *coef_bits;

DCTSIZE2 is 64, so this makes somewhat of a different.

We do have this set up in the database with an understanding this is the
setting, but it's not coming out that way.

INSERT INTO `TypeMember` VALUES
(41144,'coef_bits',11313,40,'',11249,'',0,0,NULL,'3.1',1,NULL,NULL);

where 11249 is INSERT INTO `Type` VALUES
(11249,'jpeg_decompress_struct','Struct',608,'','No','No','No',NULL,0,0,'libjpeg',0);

and the type of coef_bits looks like it was attempting what upstream has:

INSERT INTO `Type` VALUES (11313,'int[64]
*','Pointer',608,'','No','No','Yes',NULL,0,0,'libjpeg',0);

a clear problem in getting this right is the type of coef_bits does not have
'Array' as its typetype, and the typemember entry does not have a TMarray
value.

Tags: sdk
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.