[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#346406: marked as done (compiling ssmtp with -Wall gives warnings)



Your message dated Thu, 25 Sep 2025 19:49:50 +0000
with message-id <E1v1ryQ-00DgPK-0S@fasolo.debian.org>
and subject line Bug#346406: fixed in ssmtp 2.65-1
has caused the Debian Bug report #346406,
regarding compiling ssmtp with -Wall gives warnings
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
346406: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346406
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ssmtp
Version: 2.6.1
Tags: patch

I have a patch that corrects two compiler warnings about potentially uninit=
ialized variables when -Wall is used. I also added a missing word to the do=
cumentation.

diff -ur ssmtp-2.61/INSTALL ssmtp-2.61-local/INSTALL
--- ssmtp-2.61/INSTALL  2004-05-15 16:31:21.000000000 -0500
+++ ssmtp-2.61-local/INSTALL    2006-01-06 18:57:00.000000000 -0500
@@ -57,7 +57,7 @@
                records don't count, as several vendors' machines that we
                run ssmtp on (notably suns) don't fully support them.
                They'd be nice, though...
-       rewriteDomain: The place to say the mail came from. This is for
+       rewriteDomain: The place to say where the mail came from. This is for
                hostname-hiding, and only applies if the programs is
                compiled with REWRITE_DOMAIN defined. We don't usually have
                to do so (our main mailhubs run zmailer: our clients run all
diff -ur ssmtp-2.61/ssmtp.c ssmtp-2.61-local/ssmtp.c
--- ssmtp-2.61/ssmtp.c  2004-07-23 00:58:48.000000000 -0500
+++ ssmtp-2.61-local/ssmtp.c    2006-01-06 19:23:15.000000000 -0500
@@ -727,7 +727,7 @@
 void header_parse(FILE *stream)
 {
        size_t size =3D BUF_SZ, len =3D 0;
-       char *p =3D (char *)NULL, *q;
+       char *p =3D (char *)NULL, *q =3D (p + len);
        bool_t in_header =3D True;
        char l =3D (char)NULL;
        int c;
@@ -982,7 +982,7 @@
 #ifdef INET6
        struct addrinfo hints, *ai0, *ai;
        char servname[NI_MAXSERV];
-       int s;
+       int s =3D 0;
 #else
        struct sockaddr_in name;
        struct hostent *hent;

--- End Message ---
--- Begin Message ---
Source: ssmtp
Source-Version: 2.65-1
Done: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>

We believe that the bug you reported is fixed in the latest version of
ssmtp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 346406@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org> (supplier of updated ssmtp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Sep 2025 15:08:16 +0500
Source: ssmtp
Architecture: source
Version: 2.65-1
Distribution: unstable
Urgency: medium
Maintainer: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Changed-By: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Closes: 346406 925056 1116237
Changes:
 ssmtp (2.65-1) unstable; urgency=medium
 .
   * Adopt package (Closes: #925056)
   * Add new upstream (Closes: #1116237)
   * Build warning with -Wall (Closes: #346406)
   * Removed patches after merging to upstream.
   * Fix lintian warnings.
Checksums-Sha1:
 4f72c4e416c5b587173dc67455fe51f374655697 1725 ssmtp_2.65-1.dsc
 8eb829202479cc1c5a64ef9fc9e1a9643665b2fd 87368 ssmtp_2.65.orig.tar.gz
 1c564726db0431cbf463b4c5c8b81a1c974e12b1 33832 ssmtp_2.65-1.debian.tar.xz
 70e4b6545c0c4fa50494d0731ae1724295b124e2 6166 ssmtp_2.65-1_source.buildinfo
Checksums-Sha256:
 eeceb995017d0664d6c804ceb9c0c7fc505e2009049d7d92896019fda9816f60 1725 ssmtp_2.65-1.dsc
 7817ba5b0ae2f51903548be153b8a4ee7055e560bdd73b29cf7691b9de98f071 87368 ssmtp_2.65.orig.tar.gz
 1e32552616b5341b6c877c8dcc6b139fd30ecb389d0fb2bc218f42a3999ea41a 33832 ssmtp_2.65-1.debian.tar.xz
 d79334be91a348f39b9ff31479906c7e3fe90ac676b046816f8a8a2864674e10 6166 ssmtp_2.65-1_source.buildinfo
Files:
 f5141dc337b28613499cececb32bdd7d 1725 mail optional ssmtp_2.65-1.dsc
 3346bbbfc8f17594d14718cb2cc234dc 87368 mail optional ssmtp_2.65.orig.tar.gz
 24db20cc409d46201416627c9cfb757a 33832 mail optional ssmtp_2.65-1.debian.tar.xz
 051cc44a059838ec3ca7baccb293d609 6166 mail optional ssmtp_2.65-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmjVllQQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFDpADADCbVJqmXU9PWtV+H83cPy69TS5AdE6F/1N
1nKJVvMS8TmJV2fGOBycklZA62V+OrdYXmeGxNMql+6+tysc5vGH4P14ibrgwXZq
sDSc8jfnoFJaggetxG8UuKP8WnqbfkzKdi8duzA2oYw5dNeGxcoYz0T8XCn/oCcH
/zyIvK7/zFJcyP3TcToU3F4d4cdBQu/3ZaYOoZTWi23YbKqGKO1zXo6GqCTMn0AY
N4oUhPLyjXuvf/q/Lt7w0Vfa81l/nZ0ajtFujsn65jaH8y7YT/2gX0Fip5EVP5Wa
kyN6/cZtFLhrnO6JN6Tl45FdTockN0opRdY0NHzC85IRzqn1nfQT2L08NjDgsDpj
Ix69GFs+G04QL5aNcJgtZkQ8ap1TxNxCMB/jV3lvfZCPz25llbKArlXGNIz0kd2B
Qe42AYtxOeTdDpUCQ83f8EiytX7UmVxBxDztEMYNPfBJZ1lu9HUzawzHc2MPQz6g
ffmllMv07dBA6Mj8GmwsU5ECsTZVGbM=
=gGJW
-----END PGP SIGNATURE-----

Attachment: pgp9yxGno7P0l.pgp
Description: PGP signature


--- End Message ---

Reply to: