[ expat-Bugs-594963 ] segmentation fault in function hash

noreply@sourceforge.net noreply@sourceforge.net
Fri Aug 16 07:44:04 2002


Bugs item #594963, was opened at 2002-08-14 04:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=594963&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: segmentation fault in function hash

Initial Comment:
expat 1.95.4 crashed in function lookup -> hash when 
used in my program. When used as parseXml -ivt **.T34 
outx a memory error follows and a crash. This does not 
happend when line <T60> is removed or T34 is changed 
to T35 or an other item. GDB tells me it is a 
segmentation error. OS is HPUX-11. Compiler is GCC, 
Lang is ANSI-C. Can be circumvented by setting 
INIT_SIZE to 128 in xmlparse.c but no guaranties.

----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2002-08-16 10:43

Message:
Logged In: YES 
user_id=290026

Assigned to Fred. Hope he has time to give it
a quick check.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2002-08-14 09:04

Message:
Logged In: YES 
user_id=290026

Roel Dijkema was not able to upload the bug demo.
I did that for him.

Comment: It would be much appreciated if the
demo could be reduced to the bare minimum that
still shows the bug. Otherwise it may take too long
to isolate the problem - since we all would like to use
our limited volunteer time efficiently.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=594963&group_id=10127