Fix invalid pointer passed to FreeStmt()
This commit is contained in:
parent
6f85d169c7
commit
44352ba6f6
26
0001-xkbcomp-fix-pointer-value-for-FreeStmt.patch
Normal file
26
0001-xkbcomp-fix-pointer-value-for-FreeStmt.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 259a8c12c288ac5bcc37c4b39f509f555f490870 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
Date: Mon, 30 Jul 2018 14:11:46 +1000
|
||||||
|
Subject: [PATCH] xkbcomp: fix pointer value for FreeStmt
|
||||||
|
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
---
|
||||||
|
src/xkbcomp/ast-build.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/xkbcomp/ast-build.c b/src/xkbcomp/ast-build.c
|
||||||
|
index 58f97f9..e75fe47 100644
|
||||||
|
--- a/src/xkbcomp/ast-build.c
|
||||||
|
+++ b/src/xkbcomp/ast-build.c
|
||||||
|
@@ -233,7 +233,7 @@ ExprAppendMultiKeysymList(ExprDef *expr, ExprDef *append)
|
||||||
|
darray_append(expr->keysym_list.symsNumEntries, numEntries);
|
||||||
|
darray_concat(expr->keysym_list.syms, append->keysym_list.syms);
|
||||||
|
|
||||||
|
- FreeStmt((ParseCommon *) &append);
|
||||||
|
+ FreeStmt((ParseCommon *) append);
|
||||||
|
|
||||||
|
return expr;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: libxkbcommon
|
Name: libxkbcommon
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
Release: 4%{?gitdate:.%{gitdate}}%{?dist}
|
Release: 5%{?gitdate:.%{gitdate}}%{?dist}
|
||||||
Summary: X.Org X11 XKB parsing library
|
Summary: X.Org X11 XKB parsing library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
@ -14,6 +14,8 @@ Source0: http://xkbcommon.org/download/%{name}-%{version}.tar.xz
|
|||||||
%endif
|
%endif
|
||||||
Source1: make-git-snapshot.sh
|
Source1: make-git-snapshot.sh
|
||||||
|
|
||||||
|
Patch01: 0001-xkbcomp-fix-pointer-value-for-FreeStmt.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: xorg-x11-util-macros byacc flex bison
|
BuildRequires: xorg-x11-util-macros byacc flex bison
|
||||||
BuildRequires: xorg-x11-proto-devel libX11-devel
|
BuildRequires: xorg-x11-proto-devel libX11-devel
|
||||||
@ -96,6 +98,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
|
|||||||
%{_libdir}/pkgconfig/xkbcommon-x11.pc
|
%{_libdir}/pkgconfig/xkbcommon-x11.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 30 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-5
|
||||||
|
- Fix invalid pointer passed to FreeStmt()
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user