[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/icecream-make-it-cool/services
From: Dirk Mueller <mueller () kde ! org>
Date: 2007-07-30 16:37:28
Message-ID: 1185813448.291563.27629.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 694413 by mueller:
fix overflow check
M +1 -1 comm.cpp
--- branches/work/icecream-make-it-cool/services/comm.cpp #694412:694413
@@ -435,7 +435,7 @@
/* If there was some input, but nothing compressed,
or lengths are bigger than the whole chunk message
or we don't have everything to uncompress, there was an error. */
- if ( uncompressed_len > (inofs - intogo)
+ if ( uncompressed_len > MAX_MSG_SIZE
|| compressed_len > (inofs - intogo)
|| (uncompressed_len && !compressed_len)
|| inofs < intogo + compressed_len )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic