From: Narasimha S. <nsh...@us...> - 2012-02-11 19:43:34
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv28548 Modified Files: cimXmlParser.c Log Message: [ 3486814 ] sfcb crashes while freeing the cimxml response Index: cimXmlParser.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimXmlParser.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- cimXmlParser.c 23 Nov 2011 03:24:00 -0000 1.36 +++ cimXmlParser.c 11 Feb 2012 19:43:32 -0000 1.37 @@ -1741,7 +1741,9 @@ { XtokParamValue * pv = op->first , *dv; while (pv) { - freeParamValue(pv); + /* 3486814 : type is invalid, value is null */ + if (pv->type != USHRT_MAX) + freeParamValue(pv); dv = pv; pv = pv->next; free(dv); |