[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r871 - GNUnet/src/applications/fs/ecrs
From: |
durner |
Subject: |
[GNUnet-SVN] r871 - GNUnet/src/applications/fs/ecrs |
Date: |
Mon, 6 Jun 2005 10:47:57 -0700 (PDT) |
Author: durner
Date: 2005-06-06 10:47:53 -0700 (Mon, 06 Jun 2005)
New Revision: 871
Modified:
GNUnet/src/applications/fs/ecrs/uri.c
Log:
fix heap corruption
Modified: GNUnet/src/applications/fs/ecrs/uri.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/uri.c 2005-06-05 16:42:40 UTC (rev
870)
+++ GNUnet/src/applications/fs/ecrs/uri.c 2005-06-06 17:47:53 UTC (rev
871)
@@ -97,7 +97,7 @@
char * ret;
unsigned int i;
- n = keywordCount + strlen(ECRS_URI_PREFIX) + strlen(ECRS_SEARCH_INFIX);
+ n = keywordCount + strlen(ECRS_URI_PREFIX) + strlen(ECRS_SEARCH_INFIX) + 1;
for (i=0;i<keywordCount;i++)
n += strlen(keywords[i]);
ret = MALLOC(n);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r871 - GNUnet/src/applications/fs/ecrs,
durner <=