From: Alf Clement Date: Thu, 12 Jun 2008 06:32:26 GMT Subject: Re: [PATCH] Add test-tr: poor-man tr Message-ID: <556d90580806112332s25f76caajaaafa8e16e895922@mail.gmail.com> In-Reply-To: <20080611182501.GA3344@steel.home> Hi Alex, > +static unsigned char *unquote(const char *s, unsigned *len) > +{ > + unsigned char *result = malloc(strlen(s)), *r = result; are you sure that the buffer is big enough?? Nomally you do a malloc(strlen(s)+1). CU, Alf