Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sshpass for openSUSE:Factory checked 
in at 2026-06-17 16:18:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sshpass (Old)
 and      /work/SRC/openSUSE:Factory/.sshpass.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sshpass"

Wed Jun 17 16:18:01 2026 rev:6 rq:1359755 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/sshpass/sshpass.changes  2023-03-07 
16:50:55.593771599 +0100
+++ /work/SRC/openSUSE:Factory/.sshpass.new.1981/sshpass.changes        
2026-06-17 16:18:35.883763231 +0200
@@ -1,0 +2,7 @@
+Tue Jun 16 11:45:25 UTC 2026 - Dirk Müller <[email protected]>
+
+- add
+  0001-Fix-Segmentation-fault-in-e-mode-when-environment-va.patch
+  (bsc#1268297)
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-Segmentation-fault-in-e-mode-when-environment-va.patch

----------(New B)----------
  New:- add
  0001-Fix-Segmentation-fault-in-e-mode-when-environment-va.patch
  (bsc#1268297)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sshpass.spec ++++++
--- /var/tmp/diff_new_pack.XZU3kP/_old  2026-06-17 16:18:36.643795031 +0200
+++ /var/tmp/diff_new_pack.XZU3kP/_new  2026-06-17 16:18:36.647795199 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sshpass
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 Group:          System/Management
 URL:            https://sshpass.sourceforge.net/
 Source0:        
https://downloads.sourceforge.net/sshpass/sshpass-%{version}.tar.gz
+Patch0:         0001-Fix-Segmentation-fault-in-e-mode-when-environment-va.patch
 
 %description
 Tool for non-interactively performing password authentication with so called
@@ -31,7 +32,7 @@
 more secure public key authentication of SSH instead.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure

++++++ 0001-Fix-Segmentation-fault-in-e-mode-when-environment-va.patch ++++++
>From f4b9e2c2e10b47c94259ac432b8d63e59fa1d2a8 Mon Sep 17 00:00:00 2001
From: Marius Wachtler <[email protected]>
Date: Sun, 20 Oct 2024 21:50:58 +0700
Subject: [PATCH] Fix Segmentation fault in -e mode when environment variable
 is not set.

`hide_password()` dereferenced the NULL pointer `args.orig_password`
---
 main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 2bad28b..2cc272c 100644
--- a/main.c
+++ b/main.c
@@ -175,8 +175,8 @@ static int parse_options( int argc, char *argv[] )
 
                 error=RETURN_INVALID_ARGUMENTS;
             }
-
-            hide_password();
+            else
+                hide_password();
             unsetenv(optarg);
             break;
         case '?':
-- 
2.54.0

Reply via email to