Debian Patches

Status for clamsmtp/1.10.2-1

Patch Description Author Forwarded Bugs Origin Last update
300175-fileperms.patch Bug#300175: Patch for clamav/clamsmtp
On recent glibc, files created with mkstemp() are created with mode
0600. If the mode is not changed, there is no way for another user to
read the temporary file, regardless of the users' respective groups.

This patch allows users in the same group to read the temporary files.
This should solve Erwan's problem, and certainly has solved mine:

Sam

PS/ older glibc used to create the file in 0666 mode, which may explain
why not everyone has this problem

Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam
Samuel Tardieu <sam@rfc1149.net> no 2005-03-21
gnu_source.patch Remove GNU_SOURCE definition rom the only file that has it. no
include_order.patch Fix order of includes no
leading_dots.patch no
spio-Don-t-write-to-non-allocate-memory.patch spio: Don't write to non-allocate memory.
spio::line has a size of SP_LINE_LENGTH items starting at 0 ending at
SP_LINE_LENGTH - 1. Accessing item SP_LINE_LENGTH is out of bounds, it
no longer part of spio::line.

Use `SP_LINE_LENGTH - 1' as the last character.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2024-07-03
smtppass-Correct-strncat-invocation.patch smtppass: Correct strncat() invocation.
strncat() expects copies at most length_bytes + 1 therefore the buffer
must be strlen(dest) + strlen(src) + 1 to cover everything.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2024-07-03

All known versions for source package 'clamsmtp'

Links