3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- qt-2.3.10/src/xml/qxml.cpp~xml
7 +++ qt-2.3.10/src/xml/qxml.cpp
9 // ### The input source should not do the encoding detection!
10 void QXmlInputSource::readInput( QByteArray& rawData )
12 + // avoid crash if the array has less than 5 characters (skyhusker@handhelds.org)
13 + if ( rawData.size() < 6 )
15 QBuffer buf( rawData );
16 buf.open( IO_ReadOnly );
17 QTextStream *stream = new QTextStream( &buf );