[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.53.0303131248120.24129@acid.ch.pw.edu.pl>
Date: Thu, 13 Mar 2003 12:52:14 +0100 (CET)
From: Jacek Lipkowski <sq5bpf@...d.ch.pw.edu.pl>
To: Eric AUGE <eauge@...cw.net>
Subject: Re: [VulnWatch] pgp4pine stack overflow vulnerability
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;
Powered by blists - more mailing lists