On 11/12/2014 06:08 PM, Domen Vrankar wrote: > Attached is the final patch. Applied with minor tweaks, thanks: string: Tolerate SUBSTRING length exceeding end index http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=474bbb9d -Brad