Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nanomsg for openSUSE:Factory checked in at 2026-08-04 21:33:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nanomsg (Old) and /work/SRC/openSUSE:Factory/.nanomsg.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nanomsg" Tue Aug 4 21:33:24 2026 rev:11 rq:1369249 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/nanomsg/nanomsg.changes 2026-01-12 10:31:05.125620719 +0100 +++ /work/SRC/openSUSE:Factory/.nanomsg.new.16738/nanomsg.changes 2026-08-04 21:33:46.374797494 +0200 @@ -1,0 +2,10 @@ +Mon Aug 3 07:35:26 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 1.2.4 + * Fix for unsignaling. #1131 +- Update to version 1.2.3 + * Fixed an error that caused a seg fault when there were not + enough bind ports. + * Fix ws handshake overflow. #1130 + +------------------------------------------------------------------- Old: ---- nanomsg-1.2.2.tar.gz New: ---- nanomsg-1.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nanomsg.spec ++++++ --- /var/tmp/diff_new_pack.SHinU1/_old 2026-08-04 21:33:47.538837937 +0200 +++ /var/tmp/diff_new_pack.SHinU1/_new 2026-08-04 21:33:47.542838075 +0200 @@ -1,7 +1,7 @@ # # spec file for package nanomsg # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define sover 6 Name: nanomsg -Version: 1.2.2 +Version: 1.2.3 Release: 0 Summary: Socket library providing several common communication patterns License: MIT ++++++ nanomsg-1.2.2.tar.gz -> nanomsg-1.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nanomsg-1.2.2/src/transports/tcp/ctcp.c new/nanomsg-1.2.3/src/transports/tcp/ctcp.c --- old/nanomsg-1.2.2/src/transports/tcp/ctcp.c 2025-10-05 18:42:08.000000000 +0200 +++ new/nanomsg-1.2.3/src/transports/tcp/ctcp.c 2026-08-02 19:41:21.000000000 +0200 @@ -454,6 +454,15 @@ nn_fsm_bad_action (ctcp->state, src, type); } + case NN_CTCP_SRC_USOCK: + /* Ignore late-arriving usock events while waiting to reconnect. */ + switch (type) { + case NN_USOCK_SHUTDOWN: + return; + default: + return; /* Ignore other events */ + } + default: nn_fsm_bad_source (ctcp->state, src, type); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nanomsg-1.2.2/src/transports/ws/ws_handshake.c new/nanomsg-1.2.3/src/transports/ws/ws_handshake.c --- old/nanomsg-1.2.2/src/transports/ws/ws_handshake.c 2025-10-05 18:42:08.000000000 +0200 +++ new/nanomsg-1.2.3/src/transports/ws/ws_handshake.c 2026-08-02 19:41:21.000000000 +0200 @@ -1281,7 +1281,6 @@ { struct nn_iovec response; char *code; - char *version; char *protocol; int rc; @@ -1304,7 +1303,7 @@ strncpy (protocol, self->protocol, self->protocol_len); protocol [self->protocol_len] = '\0'; - sprintf (self->response, + snprintf (self->response, sizeof (self->response), "HTTP/1.1 101 Switching Protocols\r\n" "Upgrade: websocket\r\n" "Connection: Upgrade\r\n" @@ -1341,18 +1340,11 @@ break; } - version = nn_alloc (self->version_len + 1, "WebSocket version"); - alloc_assert (version); - strncpy (version, self->version, self->version_len); - version [self->version_len] = '\0'; - /* Fail connection as per RFC 6455 4.4. */ - sprintf (self->response, + snprintf (self->response, sizeof (self->response), "HTTP/1.1 %s\r\n" - "Sec-WebSocket-Version: %s\r\n", - code, version); - - nn_free (version); + "Sec-WebSocket-Version: 13\r\n", + code); } response.iov_len = strlen (self->response); @@ -1383,4 +1375,3 @@ return rc; } - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nanomsg-1.2.2/src/utils/closefd.c new/nanomsg-1.2.3/src/utils/closefd.c --- old/nanomsg-1.2.2/src/utils/closefd.c 2025-10-05 18:42:08.000000000 +0200 +++ new/nanomsg-1.2.3/src/utils/closefd.c 2026-08-02 19:41:21.000000000 +0200 @@ -31,7 +31,6 @@ void nn_closefd (int fd) { - int rc; if (nn_slow (fd < 0)) { return; } @@ -39,4 +38,3 @@ } #endif -
