1
0
Fork 0
Commit graph

3 commits

Author SHA1 Message Date
James Craig Burley
c4de3cc1ac This patch improves ISO C conformance of qmail code -- specifically,
of qmail-lspawn, qmail-newmrh, qmail-newu, qmail-pop3d, qmail-popup,
qmail-rspawn, and qmail-smtpd.  This fixes two known bugs:

  -  qmail-smtpd can be crashed by a client sending a sufficiently
     long (e.g. 2GB) header line in an email.

  -  qmail_lspawn, qmail-newmrh, qmail-newu, and qmail-rspawn might
     crash or otherwise misbehave on hosts with a smaller "int" type
     than "char *" type, e.g. 64-bit hosts with 32-bit "int"s.

The other changes are unlikely to have any effect, except possibly on
unusual architectures and/or in the presence of rare optimizations.

This is Version 1 of this patch.  It adds the changes to
cdbmake_add.c, spawn.c, and, correspondingly, Makefile, which pertain
to the second bug listed above.
2016-01-17 18:08:28 +01:00
D. J. Bernstein
d15ee51c9d qmail 1.02 2016-01-17 17:37:05 +01:00
D. J. Bernstein
af9625ddf9 qmail 1.01 2009-12-18 13:07:04 +01:00