bugSimple C Expat Wrapper - Bugs: bug #1930, scew_get_element_by_name() doesn't...

 
 

bug #1930: scew_get_element_by_name() doesn't return a failure

Submitted by:  Stuart R. Anderson <fsganderson>
Submitted on:  Mon 09 Dec 2002 02:35:49 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aleix Conchillo Flaqué <aleix>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 09 Dec 2002 10:26:28 PM UTC, comment #3:

the same bug has been fixed in scew_get_attribute_by_name.

Aleix Conchillo Flaqué <aleix>
Project AdministratorIn charge of this item.
Mon 09 Dec 2002 10:25:25 PM UTC, comment #2:

the same bug in scew_get_attribute_by_name has been fixed.

Anonymous
Mon 09 Dec 2002 02:25:09 PM UTC, comment #1:

thanks for the patch! this fix will be available in next release.

Aleix Conchillo Flaqué <aleix>
Project AdministratorIn charge of this item.
Mon 09 Dec 2002 02:35:49 AM UTC, original submission:

scew_get_element_by_name() doesn't return a NULL if an element is not found. The following patch fixes this.

      • src/element.c.orig Sun Dec 8 21:23:17 2002

--- src/element.c Sun Dec 8 21:23:45 2002
***************

      • 92,97 ****

--- 92,102 ----
}
}

+ if (i == parent->n_children)
+ {
+ return NULL;
+ }
+
return element;
}

Stuart R. Anderson <fsganderson>

 

(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
Mon 13 Jan 2003 11:48:14 PM UTCaleixOpen/ClosedOpen=>(Error - Not Found)
Mon 09 Dec 2002 02:25:09 PM UTCaleixStatusNone=>(Error - Not Found)
  Assigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1