mailmap: avoid out-of-bounds memory access
[gitweb.git] / builtin / init-db.c
index 0dacb8b79c57cae2b789eb84d7cfbdb1654ba52f..244fb7fc32e8263c9ab92ca10a440625f4c2944c 100644 (file)
@@ -290,6 +290,7 @@ static int create_default_files(const char *template_path)
                strcpy(path + len, "CoNfIg");
                if (!access(path, F_OK))
                        git_config_set("core.ignorecase", "true");
+               probe_utf8_pathname_composition(path, len);
        }
 
        return reinit;