svn commit: samba r19037 - in branches: SAMBA_3_0/source/libsmb
SAMBA_3_0_23/source/libsmb
vlendec at samba.org
vlendec at samba.org
Mon Oct 2 11:03:53 GMT 2006
Author: vlendec
Date: 2006-10-02 11:03:53 +0000 (Mon, 02 Oct 2006)
New Revision: 19037
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19037
Log:
Fix a segfault
Modified:
branches/SAMBA_3_0/source/libsmb/clispnego.c
branches/SAMBA_3_0_23/source/libsmb/clispnego.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clispnego.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clispnego.c 2006-10-02 10:45:00 UTC (rev 19036)
+++ branches/SAMBA_3_0/source/libsmb/clispnego.c 2006-10-02 11:03:53 UTC (rev 19037)
@@ -165,7 +165,7 @@
ret = !data.has_error;
if (data.has_error) {
int j;
- SAFE_FREE(principal);
+ SAFE_FREE(*principal);
for(j = 0; j < i && j < ASN1_MAX_OIDS-1; j++) {
SAFE_FREE(OIDs[j]);
}
Modified: branches/SAMBA_3_0_23/source/libsmb/clispnego.c
===================================================================
--- branches/SAMBA_3_0_23/source/libsmb/clispnego.c 2006-10-02 10:45:00 UTC (rev 19036)
+++ branches/SAMBA_3_0_23/source/libsmb/clispnego.c 2006-10-02 11:03:53 UTC (rev 19037)
@@ -165,7 +165,7 @@
ret = !data.has_error;
if (data.has_error) {
int j;
- SAFE_FREE(principal);
+ SAFE_FREE(*principal);
for(j = 0; j < i && j < ASN1_MAX_OIDS-1; j++) {
SAFE_FREE(OIDs[j]);
}
More information about the samba-cvs
mailing list