This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [patch] several new features for cygrunsrv
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 19 May 2005 12:36:27 -0700
- Subject: Re: [patch] several new features for cygrunsrv
- References: <428CE837.C00E288B@dessent.net>
Brian Dessent wrote:
> -controlsToString(DWORD controls)
> + char *base, *end;
> + static char buf[34];
> + int used = 0, dsiz = strlen (delim);
Crap, that is a mistake. buf[34] should be something more generous like
128 or 256. I had it set small to test to make sure it couldn't
overflow and forgot to put it back.
Brian