Hi, On Mon, 10 Apr 2006, Timo Hirvonen wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > > > +static int cmd_whatchanged(int argc, const char **argv, char **envp) > > +{ > > + memmove(argv + 2, argv + 1, argc - 1); > > Shouldn't the size be sizeof(char *) * argc (NULL terminated array)? > There's also overflow... Yeah, this was some useless late-night coding. But you get the idea. Ciao, Dscho - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html