Use memmove() in git__dirname and git__basename
We cannot make sure that the user doesn't use the same buffer as source and destination, so write to it using memmove. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Showing
Please
register
or
sign in
to comment