Minor fixes for GnuPG 1.2.3

David Shaw dshaw at jabberwocky.com
Fri Dec 5 10:14:50 CET 2003


On Fri, Dec 05, 2003 at 03:46:03PM +0100, Christian Biere wrote:
> Christian Biere wrote:

> > -  if(parsedindex>0)
> > +  while(parsedindex > 0 && isspace(((unsigned char *)parsed)[parsedindex]))
> >      {
> > -      parsedindex--;
> > -      while(isspace(((unsigned char *)parsed)[parsedindex]))
> > -	{
> > -	  parsed[parsedindex]='\0';
> > -	  parsedindex--;
> > -	}
> > +	parsed[parsedindex]='\0';
> > +	parsedindex--;
> >      }
> >  }
> >  
> 
> Oops, the above isn't correct.

Hmm.  That was fixed a long time ago.

2003-04-08  David Shaw  <dshaw at jabberwocky.com>

        * gpgkeys_hkp.c (dehtmlize, parse_hkp_index): Fix memory
        corruption bug on some platforms.

I think I may have forgotten to backport the fix to stable.  Good
catch!

David



More information about the Gnupg-devel mailing list