mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
Another attempt at undoing my bogus patch 1.55.2.19
(This used to be commit 05a684b3be
)
This commit is contained in:
@ -420,6 +420,8 @@ size_t pull_ascii(char *dest, const void *src, size_t dest_len, size_t src_len,
|
||||
|
||||
if (dest_len)
|
||||
dest[MIN(ret, dest_len-1)] = 0;
|
||||
else
|
||||
dest[0] = 0;
|
||||
|
||||
return src_len;
|
||||
}
|
||||
|
Reference in New Issue
Block a user