[xsd-users] bug in types.hxx line 337

Ray Lischner rlischner at proteus-technologies.com
Wed Mar 14 15:28:46 EDT 2007


I have to leave work now, so I don't have much time, but I wanted to report this as soon as possible.
 
Line 337 of xsd/cxx/tree/types.hxx calls xercesc::Base64::encode to encode a base64_binary value. The result is stored in an auto_array object. The problem is that Base64::encode calls operator new to allocate the memory, and auto_array uses delete[] to free the memory. I ran a program under valgrind, which reported the mismatch.
--
Ray Lischner, Proteus Technologies



More information about the xsd-users mailing list