On 6/8/17, [email protected] <[email protected]> wrote:
>
>
> strndup is added terminating null byte.
> but Fossil_strndup behaves as strncpy.
> fossil_strndup not added terminating null byte ('\0') when len>=0

Good catch.  That is only used in one place in the code, but it is
significant.  A fix has been checked in.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to