[3503] in bugtraq
Re: Remote exploit in sendmail 8.8.0
daemon@ATHENA.MIT.EDU (Daniel S. Riley)
Fri Oct 18 14:31:01 1996
Date: Fri, 18 Oct 1996 09:01:23 -0400
Reply-To: "Daniel S. Riley" <dsr@lns598.lns.cornell.edu>
From: "Daniel S. Riley" <dsr@lns598.lns.cornell.edu>
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@NETSPACE.ORG>
In-Reply-To: "D. J. Bernstein"'s message of Fri, 18 Oct 1996 00:20:08 -0000
"D. J. Bernstein" <djb@koobera.math.uic.edu> writes:
> Is it just my imagination, or does sendmail.8.8.1.patch replace
>
> if (mime_fromqp((u_char *) buf, &obp, 0, MAXLINE) == 0)
>
> with
>
> if (mime_fromqp((u_char *) buf, &obp, 0, &obp[MAXLINE] - obp) == 0)
>
> This is not exactly what I'd call a fix.
Agreed. Probably supposed to be
if (mime_fromqp((u_char *) buf, &obp, 0, &obuf[MAXLINE] - obp) == 0)
which still won't win any awards for elegance, but does at least do
something, while &obp[MAXLINE] - obp === MAXLINE.
--
Dan Riley Internet: dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr)
http://w4.lns.cornell.edu/ "Distance means nothing/To me." -Kate Bush