Force the final dot, even if not provided in the configuration for RBLs.
authorPierre Habouzit <madcoder@debian.org>
Tue, 7 Oct 2008 08:46:35 +0000 (10:46 +0200)
committerPierre Habouzit <madcoder@debian.org>
Tue, 7 Oct 2008 08:47:34 +0000 (10:47 +0200)
commit2eddee1ce8e3a644b73e03b65e8d4a3ccd024c76
tree5573970b609c6f300fe01df7199a909574606932
parente4947fba7dd007870a0cdc55ec35cf849a2216c1
Force the final dot, even if not provided in the configuration for RBLs.

Note: the len - 2 and len - 1 are safe because each format will always
write more than 2 chars in the buffer.

We also check for overflow at the same time.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
common/rbl.c