You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
278 B
12 lines
278 B
13 years ago
|
--- src/kernel/qtranslator.cpp
|
||
|
+++ src/kernel/qtranslator.cpp
|
||
|
@@ -1015,7 +1015,7 @@
|
||
|
char con[256];
|
||
|
for ( ;; ) {
|
||
|
t >> len;
|
||
|
- if ( len == 0 )
|
||
|
+ if ( len == 0 || t.atEnd())
|
||
|
return TQTranslatorMessage();
|
||
|
t.readRawBytes( con, len );
|
||
|
con[len] = '\0';
|