Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hexchat for openSUSE:Factory checked 
in at 2021-04-21 20:59:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hexchat (Old)
 and      /work/SRC/openSUSE:Factory/.hexchat.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hexchat"

Wed Apr 21 20:59:57 2021 rev:29 rq:886949 version:2.14.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/hexchat/hexchat.changes  2020-03-17 
13:09:02.921748443 +0100
+++ /work/SRC/openSUSE:Factory/.hexchat.new.12324/hexchat.changes       
2021-04-21 21:00:21.622292157 +0200
@@ -1,0 +2,5 @@
+Tue Apr 20 06:23:55 UTC 2021 - Dominique Leuenberger <[email protected]>
+
+- Add 2559.patch: fix segfault on lua_pop with Lua 5.4.3.
+
+-------------------------------------------------------------------

New:
----
  2559.patch

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

Other differences:
------------------
++++++ hexchat.spec ++++++
--- /var/tmp/diff_new_pack.S3qczZ/_old  2021-04-21 21:00:22.158293001 +0200
+++ /var/tmp/diff_new_pack.S3qczZ/_new  2021-04-21 21:00:22.158293001 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hexchat
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 Source3:        hexchat.keyring
 # PATCH-FEATURE-SLE migrate-configuration-from-xchat.patch [email protected] 
fate#318480 -- replace xchat with hexchat
 Patch1:         migrate-configuration-from-xchat.patch
+# PATCH-FIX-UPSTREAM 2559.patch [email protected] -- fix segfault on 
lua_pop with Lua 5.4.3
+Patch2:         
https://patch-diff.githubusercontent.com/raw/hexchat/hexchat/pull/2559.patch
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
 BuildRequires:  lua-devel
@@ -98,8 +100,7 @@
 %lang_package
 
 %prep
-%setup -q
-%patch1 -p1
+%autosetup -p1
 
 %build
 %meson \

++++++ 2559.patch ++++++
>From d6319bd8f21042db62f6c7094066052d894416ef Mon Sep 17 00:00:00 2001
From: Mateusz Gozdek <[email protected]>
Date: Sun, 4 Apr 2021 21:07:30 +0200
Subject: [PATCH] plugins/lua/lua.c: fix segfault on lua_pop with Lua 5.4.3

Closes #2558

Co-authored-by: "Jan Alexander Steffens (heftig)" <[email protected]>
Signed-off-by: Mateusz Gozdek <[email protected]>
---
 plugins/lua/lua.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index d73fbb230..d1370eafb 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -1189,11 +1189,11 @@ static void patch_clibs(lua_State *L)
                if(lua_type(L, -2) == LUA_TLIGHTUSERDATA && lua_type(L, -1) == 
LUA_TTABLE)
                {
                        lua_setfield(L, LUA_REGISTRYINDEX, "_CLIBS");
+                       lua_pop(L, 1);
                        break;
                }
                lua_pop(L, 1);
        }
-       lua_pop(L, 1);
 }
 
 static GPtrArray *scripts;

Reply via email to