FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 757 : xml library crashes inside empty CDATA section (v135)
Last modified: 2008-05-04 18:06
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
eskimoblood
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-04-12 14:36
If there is an empty CDATA section in xml the lib crashes, cause in line
2605 buf is set to the content of the CDATA section so it's empty. In line
2626 the length of buf is checked for 0 and the error will happen.
Additional Comment
#1 From fry 2008-04-16 10:13
in 0136 we'll be switching to nanoxml instead of nanoxml-lite, which is a
little larger (~25k instead of 6k), but more robust/useful.
Additional Comment
#2 From fry 2008-05-04 18:06
new xml library now integrated for 0136, so you shouldn't have trouble
anymore once that's released.