diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-05-10 19:32:39 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-05-15 04:03:37 +0000 |
commit | a6f47b4f7581e0a160fc844efc78e213c6546aee (patch) | |
tree | acaa871f9aa6b0e3ece929ee11a9e037a56a9ac1 /lib/compression | |
parent | 02507ebf10eb6c038ef2ebc1e1aa6a4bd53eeecd (diff) | |
download | samba-a6f47b4f7581e0a160fc844efc78e213c6546aee.tar.gz |
util/charset/convert: when retrying, retry from the start
iconv() advances the inbuf pointer; if we decide to realloc and re-iconv,
we need to reset inbuf to the source string
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/compression')
0 files changed, 0 insertions, 0 deletions