svn commit: samba r17068 - in branches/SOC/mkhl/ldb-map/modules: .

mkhl at samba.org mkhl at samba.org
Sat Jul 15 18:30:29 GMT 2006


Author: mkhl
Date: 2006-07-15 18:30:29 +0000 (Sat, 15 Jul 2006)
New Revision: 17068

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17068

Log:
Fix a pointer to inaccessible memory.

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:28:27 UTC (rev 17067)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 18:30:29 UTC (rev 17068)
@@ -1217,7 +1217,7 @@
 		val = tree->u.extended.value;
 		break;
 	default:
-		return val;
+		return ldb_val_dup(new, &val);
 	}
 
 	/* convert to the new value */



More information about the samba-cvs mailing list