[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdegraphics/kfile-plugins/ps
From: Luís Pedro Coelho <luis () luispedro ! org>
Date: 2004-03-05 1:31:58
Message-ID: 20040305013158.D41A9995A () office ! kde ! org
[Download RAW message or body]
CVS commit by luis_pedro:
Backport of earlier fix (simplified for BRANCH, ie no cleanup):
check return value of scanData
CCMAIL: 75861-close@bugs.kde.org
M +2 -2 kfile_ps.cpp 1.10.2.1
--- kdegraphics/kfile-plugins/ps/kfile_ps.cpp #1.10:1.10.2.1
@@ -67,5 +67,5 @@ bool KPSPlugin::readInfo( KFileMetaInfo&
&& !_endComments )
{
- _dsc->scanData( buf, count );
+ if ( !_dsc->scanData( buf, count ) ) break;
}
fclose( fp );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic