I found a bug. (innd 2.2.2)
N.KomaZaki
koma at focs.sei.co.jp
Mon Jan 17 13:15:39 UTC 2000
Hello.
I found a minor bug, in innd 2.2.2. The original code will destroy
the some heap area. Please fix it.
Can I stop many news servers in Internet???
----------------------------
*** nc.c Mon Jan 17 22:06:37 2000
--- nc.c.orig Mon Jan 17 22:06:34 2000
***************
*** 782,788 ****
int j;
char *tmpstr;
! tmpstr = NEW(char, bp->Used+1);
memcpy(tmpstr, bp->Data, bp->Used);
tmpstr[bp->Used] = '\0';
--- 782,788 ----
int j;
char *tmpstr;
! tmpstr = NEW(char, bp->Used);
memcpy(tmpstr, bp->Data, bp->Used);
tmpstr[bp->Used] = '\0';
----------------------------
----- From N.Komazaki ---
/// Network Products Department, Information & Network Division,
SEI Sumitomo Electric Industries, Ltd., Osaka, Japan
E-mail koma at focs.sei.co.jp
More information about the inn-bugs
mailing list