Magellan Linux

Contents of /trunk/qt/patches/qt-3.3.8-CVE-2007-4137.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 359 - (show annotations) (download)
Sat Sep 15 22:29:23 2007 UTC (16 years, 7 months ago) by niro
File size: 338 byte(s)
-security update

1 --- src/codecs/qutfcodec.cpp
2 +++ src/codecs/qutfcodec.cpp
3 @@ -165,7 +165,7 @@ public:
4 QString toUnicode(const char* chars, int len)
5 {
6 QString result;
7 - result.setLength( len ); // worst case
8 + result.setLength( len + 1 ); // worst case
9 QChar *qch = (QChar *)result.unicode();
10 uchar ch;
11 int error = -1;