libgit2/libgit2 — pull request #512 by nulltoken (2011-12-14 19:08:11+00:00)
Title: Prevent segfaulting on Windows when building a temporary filename

According to [MSDN](http://msdn.microsoft.com/en-us/library/t8ex5e91.aspx), this function is a bit picky and expects the "size of the buffer in single-byte characters in _mktemp_s including the null terminator." as the second parameter.

GIT_PATH_MAX doesn't rule any more :-/