BugTraq
pgp4pine stack overflow vulnerability Mar 12 2003 03:52PM
Eric AUGE (eric auge cw com) (1 replies)
Re: [VulnWatch] pgp4pine stack overflow vulnerability Mar 13 2003 11:52AM
Jacek Lipkowski (sq5bpf acid ch pw edu pl)
On Wed, 12 Mar 2003, Eric AUGE wrote:

> IV Workaround/Solutions
>
> Deactivate pgp4pine and use another pgp wrapper for pine :
> http://pgpenvelope.sourceforge.net/
> http://www.megaloman.com/~hany/software/pinepgp/stable.html
> or any other...

or use the following trivial patch:

--- menus.c.orig 2003-03-13 11:16:43.000000000 +0100
+++ menus.c 2003-03-13 12:44:45.000000000 +0100
@@ -34,11 +34,13 @@
executed, EOF breaks directly */
return;
}
- else if ((readline[i++]=c) == '\n')
+ else if ((readline[i]=c) == '\n')
{
+if (i<(CONSOLE_IO_LINE_LENGTH-2)) i++;
readline[i]='\0';
fertig=1;
}
+else if (i<(CONSOLE_IO_LINE_LENGTH-2)) i++;
}
fertig=0;

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus