--------------------- PatchSet 2054 Date: 2001/04/23 08:48:39 Author: rbcollins Branch: ntlm Tag: (none) Log: Paranoid value set on cbdata alloc Members: src/helper.c:1.1.1.3.12.20->1.1.1.3.12.21 Index: squid/src/helper.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/helper.c,v retrieving revision 1.1.1.3.12.20 retrieving revision 1.1.1.3.12.21 diff -u -r1.1.1.3.12.20 -r1.1.1.3.12.21 --- squid/src/helper.c 16 Apr 2001 08:29:58 -0000 1.1.1.3.12.20 +++ squid/src/helper.c 23 Apr 2001 08:48:39 -0000 1.1.1.3.12.21 @@ -1,6 +1,6 @@ /* - * $Id: helper.c,v 1.1.1.3.12.20 2001/04/16 08:29:58 rbcollins Exp $ + * $Id: helper.c,v 1.1.1.3.12.21 2001/04/23 08:48:39 rbcollins Exp $ * * DEBUG: section 29 Helper process maintenance * AUTHOR: Harvest Derived? @@ -249,8 +249,11 @@ r->data = data; if (buf != NULL) r->buf = xstrdup(buf); - else + r->placeholder = 0; + else { + r->buf = NULL; r->placeholder = 1; + } cbdataLock(r->data); if ((buf != NULL) && lastserver) { debug(29, 5) ("StatefulSubmit with lastserver %d\n", lastserver);