[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4270 - GNUnet/src/server
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4270 - GNUnet/src/server |
Date: |
Mon, 8 Jan 2007 21:30:10 -0800 (PST) |
Author: grothoff
Date: 2007-01-08 21:30:05 -0800 (Mon, 08 Jan 2007)
New Revision: 4270
Modified:
GNUnet/src/server/connection.c
Log:
fix
Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c 2007-01-09 05:22:37 UTC (rev 4269)
+++ GNUnet/src/server/connection.c 2007-01-09 05:30:05 UTC (rev 4270)
@@ -1333,6 +1333,8 @@
tailpos = stotal - 1;
headpos = 0;
for (i = 0; i <= tailpos; i++) {
+ if (i >= stotal)
+ break; /* corner case: integer underflow on tailpos */
switch (ret[i]->flags & SE_PLACEMENT_FLAG) {
case SE_FLAG_NONE:
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4270 - GNUnet/src/server,
grothoff <=