[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11661 - gnunet/src/hello
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11661 - gnunet/src/hello |
Date: |
Fri, 11 Jun 2010 11:46:59 +0200 |
Author: grothoff
Date: 2010-06-11 11:46:59 +0200 (Fri, 11 Jun 2010)
New Revision: 11661
Modified:
gnunet/src/hello/hello.c
Log:
fix overflow
Modified: gnunet/src/hello/hello.c
===================================================================
--- gnunet/src/hello/hello.c 2010-06-11 09:10:36 UTC (rev 11660)
+++ gnunet/src/hello/hello.c 2010-06-11 09:46:59 UTC (rev 11661)
@@ -126,7 +126,7 @@
pos++;
slen++;
}
- if ('\0' != *pos)
+ if (left == 0)
{
/* 0-termination not found */
GNUNET_break_op (0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11661 - gnunet/src/hello,
gnunet <=