From: Jonathan Nieder Date: Fri, 27 Aug 2010 03:17:57 GMT Subject: Re: [PATCH] config: Print the delimeter of intuited --bool values under --get-regexp Message-ID: <20100827031757.GD23924@burratino> In-Reply-To: <1282855775-22582-1-git-send-email-alex@chmrr.net> Alex Vandiver wrote: > @@ -132,14 +129,21 @@ static int show_config(const char *key_, const char *value_, void *cb) > must_free_vptr = 1; > } > else > - vptr = value_?value_:""; > + vptr = value_; [...] > if (dup_error) { > error("More than one value for the key %s: %s", > key_, vptr); Could this segfault?