Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sslh for openSUSE:Factory checked in at 2021-09-06 15:58:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sslh (Old) and /work/SRC/openSUSE:Factory/.sslh.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sslh" Mon Sep 6 15:58:05 2021 rev:7 rq:916996 version:1.22c Changes: -------- --- /work/SRC/openSUSE:Factory/sslh/sslh.changes 2021-08-25 20:59:48.537035101 +0200 +++ /work/SRC/openSUSE:Factory/.sslh.new.1899/sslh.changes 2021-09-06 15:58:19.837291043 +0200 @@ -1,0 +2,7 @@ +Mon Sep 6 07:12:44 UTC 2021 - Michael Vetter <[email protected]> + +- Update to 1.22c: + * Fix invalid size (#302) + * Test aborted connections (#285) + +------------------------------------------------------------------- Old: ---- sslh-v1.22b.tar.gz New: ---- sslh-v1.22c.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sslh.spec ++++++ --- /var/tmp/diff_new_pack.gpD1pd/_old 2021-09-06 15:58:20.369290920 +0200 +++ /var/tmp/diff_new_pack.gpD1pd/_new 2021-09-06 15:58:20.373290919 +0200 @@ -18,7 +18,7 @@ Name: sslh -Version: 1.22b +Version: 1.22c Release: 0 Summary: SSL/SSH multiplexer License: GPL-2.0-or-later ++++++ sslh-v1.22b.tar.gz -> sslh-v1.22c.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sslh-v1.22b/common.c new/sslh-v1.22c/common.c --- old/sslh-v1.22b/common.c 2021-08-24 20:07:28.000000000 +0200 +++ new/sslh-v1.22c/common.c 2021-08-28 16:33:20.000000000 +0200 @@ -188,7 +188,7 @@ for (addr = start_addr; addr; addr = addr->ai_next) { num_addr++; - *sockfd = realloc(*sockfd, num_addr * sizeof(*sockfd)); + *sockfd = realloc(*sockfd, num_addr * sizeof(*sockfd[0])); (*sockfd)[num_addr-1].socketfd = listen_single_addr(addr, keepalive, udp); (*sockfd)[num_addr-1].type = udp ? SOCK_DGRAM : SOCK_STREAM; if (cfg.verbose) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sslh-v1.22b/t new/sslh-v1.22c/t --- old/sslh-v1.22b/t 2021-08-24 20:07:28.000000000 +0200 +++ new/sslh-v1.22c/t 2021-08-28 16:33:20.000000000 +0200 @@ -26,6 +26,7 @@ my $PROBES_AGAIN = 1; my $SSL_MIX_SSH = 1; my $SSH_MIX_SSL = 1; +my $DROP_CNX = 1; # Robustness tests. These are mostly to achieve full test # coverage, but do not necessarily result in an actual test @@ -285,6 +286,19 @@ } } +# Test: Drop connection without writing anything + if ($DROP_CNX) { + print "***Test: Connect but don't write anything\n"; + my $cnx_h = new IO::Socket::INET(PeerHost => "localhost:$sslh_port"); + warn "$!\n" unless $cnx_h; + if ($cnx_h) { + close $cnx_h; + my_is(1, "$binary: Connect and write nothing"); + # The goal of the test is to check sslh doesn't + # crash + } + } + if ($PROBES_NOFRAG) { test_probes(no_frag => 1, binary => $binary);
