The previous code would not allow things like string_sub(str, "\\", "/", 0).
authorGerald Carter <jerry@samba.org>
Thu, 18 Jul 2002 22:55:48 +0000 (22:55 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 18 Jul 2002 22:55:48 +0000 (22:55 +0000)
commit2afc1ca42c6a945fa1385328cd1c69065829d233
treef2925cc0308d2c63019b2a81fb1e1db82f373892
parent9154aa791ecdbad975ac23943af08ec2ef939f5e
The previous code would not allow things like string_sub(str, "\\", "/", 0).
It complained about an overflow of 0 bytes.

Jeremy please check since you modified this last.
(This used to be commit a5aad760061e21635319a9b5628990cf59b827ed)
source3/lib/util_str.c