From: Eric Raible Date: Fri, 22 Aug 2008 16:58:11 GMT Subject: Re: [PATCH] Support "core.excludesfile = ~/.gitignore" Message-ID: In-Reply-To: Karl Chen cs.berkeley.edu> writes: > +static char const *git_config_subst_userdir(char const *value) { > + if (value[0] == '~' && value[1] == '/') { Might you want to check that strlen(value) is at least 2? - Eric