Don't assume ResultPath is null terminated.