From: Jeff King Date: Sun, 10 Dec 2006 03:45:24 GMT Subject: Re: [PATCH] shortlog: fix segfault on empty authorname Message-ID: <20061210034524.GA11819@coredump.intra.peff.net> In-Reply-To: On Sun, Dec 10, 2006 at 12:21:03AM +0100, Johannes Schindelin wrote: > > Instead, remove at most one space between name and address. > > Why? We can fix it properly: Instead of > > > - while (isspace(bob[-1])) > > + if (isspace(bob[-1])) > > do something like > > while (bob - 1 != buffer + 7 && > isspace(bob[-1])) It doesn't look like there are ever extra spaces to get soaked up in the kernel or git repositories, but if there is a reason to expect Full Name then we should probably replace my fix with yours.