mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
simple increment bug in uniarray_2_dosarray
(This used to be commit 6506e6f47085beeaa6588a361a220ab21fc32aa6)
This commit is contained in:
parent
2db93dcc0f
commit
f87246df62
@ -3894,6 +3894,7 @@ static BOOL uniarray_2_dosarray(BUFFER5 *buf5, fstring **ar)
|
||||
src = skip_unibuf(src, 2*buf5->buf_len - PTR_DIFF(src,buf5->buffer));
|
||||
*ar = (fstring *)Realloc(*ar, sizeof(fstring)*(n+2));
|
||||
fstrcpy((*ar)[n], f);
|
||||
n++;
|
||||
}
|
||||
fstrcpy((*ar)[n], "");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user