mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r7739: fixed an off by one bug in the base64 decoder for ldb ldif
This commit is contained in:
parent
ec29a1ffa7
commit
fe2b77af23
@ -71,6 +71,9 @@ static int base64_decode(char *s)
|
||||
}
|
||||
s++; i++;
|
||||
}
|
||||
if (bit_offset >= 3) {
|
||||
n--;
|
||||
}
|
||||
|
||||
if (*s && !p) {
|
||||
/* the only termination allowed */
|
||||
|
Loading…
Reference in New Issue
Block a user