Debian Patches

Status for clamsmtp/1.10-18

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
manpage.patch Fix syntax error in manpage. no
sock_any-Use-socklen_t-for-namelen-in-struct-sockadd.patch [PATCH] sock_any: Use socklen_t for `namelen' in struct sockaddr_any.

The `namelen' argument is passed to various functions which expect
`socklen_t' as type. This triggered already a warning in recent builds
but with gcc-14 it has been upgraded to an error.

The struct is only used internaly and it is safe to change it.
Change sockaddr_any::namelen to `socklen_t'.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2024-07-03
spio-Don-t-write-to-non-allocate-memory.patch [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 [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