[xml] A long URL causes SEGV



Hi,

An URL longer than 4096(?) causes SEGV while using nanohttp in libxml2.
For example, following command dumps core.

% testReader  http://`perl -e 'print "A" x 5000'`

I think there should be a length checking code in somewhere of the
xmlNanoHTTPScanURL.

Thanks,
--
Yuuichi Teranishi <teranisi gohome org>
GPG Public Key: http://www.gohome.org/gpg/teranisi.asc
"Love is needing to be loved..."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]