parent
bc13138b93
commit
a5aea1a4c0
26
0001-grl-lua-factory-Remove-a-bad-pop.patch
Normal file
26
0001-grl-lua-factory-Remove-a-bad-pop.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 1b0fae453daf32eda9d0267c1a13cfebe324f89f Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Sun, 4 Apr 2021 18:30:57 +0000
|
||||||
|
Subject: [PATCH] grl-lua-factory: Remove a bad pop
|
||||||
|
|
||||||
|
This was exposed by Lua 5.4.3, causing a crash.
|
||||||
|
---
|
||||||
|
src/lua-factory/grl-lua-factory.c | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c
|
||||||
|
index 4f37984..3a3b824 100644
|
||||||
|
--- a/src/lua-factory/grl-lua-factory.c
|
||||||
|
+++ b/src/lua-factory/grl-lua-factory.c
|
||||||
|
@@ -1255,8 +1255,6 @@ table_to_tags (lua_State *L)
|
||||||
|
lua_pop (L, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
- lua_pop (L, 1);
|
||||||
|
-
|
||||||
|
if (array->len == 0) {
|
||||||
|
g_ptr_array_free (array, TRUE);
|
||||||
|
return NULL;
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -13,6 +13,9 @@ License: LGPLv2+
|
|||||||
URL: https://wiki.gnome.org/Projects/Grilo
|
URL: https://wiki.gnome.org/Projects/Grilo
|
||||||
Source0: https://download.gnome.org/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
|
||||||
|
|
||||||
|
# https://gitlab.gnome.org/GNOME/grilo-plugins/-/merge_requests/108
|
||||||
|
Patch0: 0001-grl-lua-factory-Remove-a-bad-pop.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: avahi-gobject-devel
|
BuildRequires: avahi-gobject-devel
|
||||||
@ -115,6 +118,10 @@ This package contains plugins to get information from theses sources:
|
|||||||
%{_libdir}/grilo-%{release_version}/*.so*
|
%{_libdir}/grilo-%{release_version}/*.so*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 04 2021 Bastien Nocera <bnocera@redhat.com> - 0.3.13-1
|
||||||
|
+ grilo-plugins-0.3.13-1
|
||||||
|
- Fix crash with newer lua (#1956076)
|
||||||
|
|
||||||
* Wed Mar 31 2021 Victor Toso <victortoso@redhat.com> - 0.3.13-1
|
* Wed Mar 31 2021 Victor Toso <victortoso@redhat.com> - 0.3.13-1
|
||||||
- Update to 0.3.13
|
- Update to 0.3.13
|
||||||
- Vimeo e Jamendo were removed
|
- Vimeo e Jamendo were removed
|
||||||
|
Loading…
Reference in New Issue
Block a user