Re: [PATCH] qmail-qfilter bounds issue

Bruce Guenter <[email protected]> Fri, 12 Aug 2005 16:54:54 -0600
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
On Thu, Aug 11, 2005 at 03:11:08AM -0400, Dale Woolridge wrote:
> In the second case, if a filter modifies the envelope/message, then
> move_unless_empty() will call parse_envelope() before assigning the
> new length to *var, so the mmap() call in parse_envelope() will use
> the unmodified envelope/message length.

Thanks, and good catch.  I have applied the patch and will release a new
version of qmail-qfilter shortly.
--
Bruce Guenter <[email protected]> http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC/Si+6W+y3GmZgOgRAv2jAJ9t18OzDVZHB1+nUxhc+n19bMxrtACgpdvL
ijM/zgi/AYVrBW+mYW9q2hM=
=vGcJ
-----END PGP SIGNATURE-----