svn commit: samba r23756 - in branches: SAMBA_3_0/source/lib
SAMBA_3_0_26/source/lib
vlendec at samba.org
vlendec at samba.org
Mon Jul 9 07:55:10 GMT 2007
Author: vlendec
Date: 2007-07-09 07:55:09 +0000 (Mon, 09 Jul 2007)
New Revision: 23756
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23756
Log:
Fix Coverity id 388
Modified:
branches/SAMBA_3_0/source/lib/util_reg_api.c
branches/SAMBA_3_0_26/source/lib/util_reg_api.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util_reg_api.c 2007-07-09 07:51:39 UTC (rev 23755)
+++ branches/SAMBA_3_0/source/lib/util_reg_api.c 2007-07-09 07:55:09 UTC (rev 23756)
@@ -82,6 +82,7 @@
if (length + 2 < length) {
/* Integer wrap. */
+ SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;
goto error;
}
Modified: branches/SAMBA_3_0_26/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_0_26/source/lib/util_reg_api.c 2007-07-09 07:51:39 UTC (rev 23755)
+++ branches/SAMBA_3_0_26/source/lib/util_reg_api.c 2007-07-09 07:55:09 UTC (rev 23756)
@@ -82,6 +82,7 @@
if (length + 2 < length) {
/* Integer wrap. */
+ SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;
goto error;
}
More information about the samba-cvs
mailing list