mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
opensmtpd: security update to 5.7.3p1.
This commit is contained in:
parent
3ea28fa262
commit
7990c1a7c7
2 changed files with 3 additions and 27 deletions
|
@ -1,24 +0,0 @@
|
||||||
--- smtpd/filter.c
|
|
||||||
+++ smtpd/filter.c
|
|
||||||
@@ -726,7 +726,6 @@ filter_tx_io(struct io *io, int evt)
|
|
||||||
struct filter_session *s = io->arg;
|
|
||||||
size_t len, n;
|
|
||||||
char *data;
|
|
||||||
- char buf[65535];
|
|
||||||
|
|
||||||
log_trace(TRACE_FILTERS, "filter: filter_tx_io(%p, %s)", s, io_strevent(evt));
|
|
||||||
|
|
||||||
@@ -734,10 +733,9 @@ filter_tx_io(struct io *io, int evt)
|
|
||||||
case IO_DATAIN:
|
|
||||||
data = iobuf_data(&s->ibuf);
|
|
||||||
len = iobuf_len(&s->ibuf);
|
|
||||||
- memmove(buf, data, len);
|
|
||||||
- buf[len] = 0;
|
|
||||||
- log_trace(TRACE_FILTERS, "filter: filter_tx_io: datain (%zu) for req %016"PRIx64": %s",
|
|
||||||
- len, s->id, buf);
|
|
||||||
+
|
|
||||||
+ log_trace(TRACE_FILTERS, "filter: filter_tx_io: datain (%zu) for req %016"PRIx64"",
|
|
||||||
+ len, s->id);
|
|
||||||
|
|
||||||
n = fwrite(data, 1, len, s->ofile);
|
|
||||||
if (n != len) {
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'opensmtpd'
|
# Template file for 'opensmtpd'
|
||||||
pkgname=opensmtpd
|
pkgname=opensmtpd
|
||||||
version=5.7.2p1
|
version=5.7.3p1
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
||||||
--with-maildir=/var/spool/mail --with-privsep-path=/var/empty
|
--with-maildir=/var/spool/mail --with-privsep-path=/var/empty
|
||||||
|
@ -19,7 +19,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="BSD, ISC, MIT"
|
license="BSD, ISC, MIT"
|
||||||
homepage="http://www.opensmtpd.org"
|
homepage="http://www.opensmtpd.org"
|
||||||
distfiles="http://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
|
||||||
checksum=daae044488d456b33aa9c84ebcc79aef2f9ab2d17ebe0c0f09e41e1f4b60d992
|
checksum=848a3c72dd22b216bb924b69dc356fc297e8b3671ec30856978950208cba74dd
|
||||||
|
|
||||||
system_accounts="smtpd smtpq"
|
system_accounts="smtpd smtpq"
|
||||||
smtpd_descr="SMTPD daemon"
|
smtpd_descr="SMTPD daemon"
|
||||||
|
|
Loading…
Add table
Reference in a new issue