Jack,

Could you send me a file (and associated key) that has the problem?

(or post into a bug in bugzilla - http://nagoya.apache.org )

Thanks!

Cheers,
        Berin

Jack Zhang wrote:

Hi,
I have a xml file which is about 9K, I can encrypt it success with 3DES. But when use the same key to decrypt the file, it crashed, then I try I decrease the file size to 2k, this time it work normally.
I have stepped into the source, seems it was crashed at *t->transcodeFrom *in XSECDOMUtils.cpp:


int toEat = (bytesToEat > 2048 ? 2048 : bytesToEat);
t->transcodeFrom(&src[totalBytesEaten],
toEat,
outputBuf,
2048,
bytesEaten,
charSizes);
outputBuf[bytesEaten] = chNull;
fullDest.sbXMLChCat(outputBuf);
totalBytesEaten += bytesEaten;
}
Where is the problem, thanks for your help.
Regards
Jack

Reply via email to