Greg Wooledge (greg at wooledge.org) wrote:
> Jay Oliveri (ilnero at gmx.net) wrote:
> > I am committed to keeping the "stable" branch as stable as possible,
> > only applying patches to fix show-stopping bugs.
Here's one, then.
Index: ezFCPlib/fcpOpenKey.c
===================================================================
RCS file: /cvsroot/freenet/Contrib/fcptools/ezFCPlib/fcpOpenKey.c,v
retrieving revision 1.23
diff -u -r1.23 fcpOpenKey.c
--- ezFCPlib/fcpOpenKey.c 31 Jul 2002 19:53:20 -0000 1.23
+++ ezFCPlib/fcpOpenKey.c 3 Aug 2002 01:44:42 -0000
@@ -416,8 +416,8 @@
uri->keyid = (char *) malloc(strlen(dupkey) + 1);
strcpy(uri->keyid, dupkey);
- uri->uri_str = (char *) malloc(strlen(uri->keyid) + 5);
- sprintf(uri->uri_str, "KSK@%s", uri->keyid);
+ uri->uri_str = (char *) malloc(strlen(key) + 5);
+ sprintf(uri->uri_str, "KSK@%s", key);
}
else {
--
Greg Wooledge | "Truth belongs to everybody."
greg at wooledge.org | - The Red Hot Chili Peppers
http://wooledge.org/~greg/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20020802/56d8ff69/attachment.pgp>