[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/dcop/dcopidl2cpp
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-01-05 16:10:36
Message-ID: 20050105161036.EB2FE1CFCE () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Make demarshalling a little more robust.
BUG: 95841
M +1 -0 skel.cpp 1.32
--- kdelibs/dcop/dcopidl2cpp/skel.cpp #1.31:1.32
@@ -280,4 +280,5 @@ void generateSkel( const QString& idl, c
str << "\tQDataStream arg( data, IO_ReadOnly );" << endl;
for( args_count = args.begin(); args_count != args.end(); ++args_count ){
+ str << "\tif (arg.atEnd()) return false;" << endl; // Basic error checking
str << "\targ >> " << *args_count << ";" << endl;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic