svn commit: samba r7739 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
tridge at samba.org
tridge at samba.org
Sun Jun 19 01:17:30 GMT 2005
Author: tridge
Date: 2005-06-19 01:17:29 +0000 (Sun, 19 Jun 2005)
New Revision: 7739
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7739
Log:
fixed an off by one bug in the base64 decoder for ldb ldif
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c 2005-06-18 23:18:31 UTC (rev 7738)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c 2005-06-19 01:17:29 UTC (rev 7739)
@@ -71,6 +71,9 @@
}
s++; i++;
}
+ if (bit_offset >= 3) {
+ n--;
+ }
if (*s && !p) {
/* the only termination allowed */
More information about the samba-cvs
mailing list