Previous fix was incorrect. len in string_sub and all_string_sub is
authorJeremy Allison <jra@samba.org>
Thu, 18 Jul 2002 23:43:33 +0000 (23:43 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 18 Jul 2002 23:43:33 +0000 (23:43 +0000)
commit923a3a0e1ce0a89a2e9be85cc224729610092b3f
tree78ba5b330e8fbd5163b31637582a3f545f5f7bed
parent7f98456fb3002623773b84c9a785ff6b3bc03b2f
Previous fix was incorrect. len in string_sub and all_string_sub is
number of *bytes*. >= check was correct, the len=0 case needed changing
to len = ls + 1.
Jeremy.
(This used to be commit 06a4a6d30ade5ea4d123ae640393677c9a510763)
source3/lib/util_str.c