dgaudet 97/12/30 11:56:12
Modified: src/main alloc.c Log: another off-by-1 Revision Changes Path 1.65 +1 -1 apachen/src/main/alloc.c Index: alloc.c =================================================================== RCS file: /export/home/cvs/apachen/src/main/alloc.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- alloc.c 1997/12/30 15:10:44 1.64 +++ alloc.c 1997/12/30 19:56:11 1.65 @@ -536,7 +536,7 @@ if (s == NULL) return NULL; res = palloc(a, n + 1); - ap_cpystrn(res, s, n); + ap_cpystrn(res, s, n + 1); return res; }