bugFreeSDP - Bugs: bug #9567, fsdp_get_unidentified_attribute...

 
 

bug #9567: fsdp_get_unidentified_attribute returns NULL always

Submitted by:  None
Submitted on:  Tue 06 Jul 2004 04:17:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Federico Montesino Pouzols <fedemp>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 01 Mar 2005 05:34:14 PM UTC, comment #1:

fixed in cvs.

Federico Montesino Pouzols <fedemp>
Project AdministratorIn charge of this item.
Tue 06 Jul 2004 04:17:32 PM UTC, original submission:

The current implementation of fsdp_get_unidentified_attribute always returns NULL (see below):

const char *
fsdp_get_unidentified_attribute(const fsdp_description_t *dsc,
unsigned int index)
{
if ( NULL == dsc || (index < dsc->unidentified_attributes_count) )
return NULL;
return dsc->unidentified_attributes[index];
}

The correct implementation is shown below:

const char *
fsdp_get_unidentified_attribute(const fsdp_description_t *dsc,
unsigned int index)
{
if ( NULL == dsc || (index >= dsc->unidentified_attributes_count) )
return NULL;
return dsc->unidentified_attributes[index];
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 01 Mar 2005 05:34:14 PM UTCfedempStatusNone=>Fixed
  Assigned toNone=>fedemp
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1