- Update to version 1.5.2
* autogen: add default patch prefix * autogen.sh: use quoted string variables * autogen.sh: use exec instead of waiting for configure to finish * Update configure.ac bug URL for gitlab migration * Fix memory leak on error paths * Add description of libXrandr to README.md * Update README for gitlab migration - supersedes U_libXrandr_fix-memory-leak.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXrandr?expand=0&rev=29
This commit is contained in:
parent
272ea07f09
commit
5e80d3ae4e
@ -1,48 +0,0 @@
|
|||||||
From 87227e5fc79750d3eccc3c3482a3c5b3f2af2e90 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tobias Stoeckmann <tobias@stoeckmann.org>
|
|
||||||
Date: Sat, 28 Jan 2017 15:37:57 +0100
|
|
||||||
Subject: Fix memory leak on error paths
|
|
||||||
|
|
||||||
Introduced in commit a0df3e1c7728205e5c7650b2e6dce684139254a6 "Avoid out
|
|
||||||
of boundary accesses on illegal responses"
|
|
||||||
|
|
||||||
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
||||||
|
|
||||||
diff --git a/src/XrrCrtc.c b/src/XrrCrtc.c
|
|
||||||
index 6665092..8316b78 100644
|
|
||||||
--- a/src/XrrCrtc.c
|
|
||||||
+++ b/src/XrrCrtc.c
|
|
||||||
@@ -459,6 +459,7 @@ XRRGetCrtcTransform (Display *dpy,
|
|
||||||
e = extra;
|
|
||||||
|
|
||||||
if (e + rep.pendingNbytesFilter > end) {
|
|
||||||
+ XFree (attr);
|
|
||||||
XFree (extra);
|
|
||||||
return False;
|
|
||||||
}
|
|
||||||
@@ -468,6 +469,7 @@ XRRGetCrtcTransform (Display *dpy,
|
|
||||||
for (p = 0; p < rep.pendingNparamsFilter; p++) {
|
|
||||||
INT32 f;
|
|
||||||
if (e + 4 > end) {
|
|
||||||
+ XFree (attr);
|
|
||||||
XFree (extra);
|
|
||||||
return False;
|
|
||||||
}
|
|
||||||
@@ -478,6 +480,7 @@ XRRGetCrtcTransform (Display *dpy,
|
|
||||||
attr->pendingNparams = rep.pendingNparamsFilter;
|
|
||||||
|
|
||||||
if (e + rep.currentNbytesFilter > end) {
|
|
||||||
+ XFree (attr);
|
|
||||||
XFree (extra);
|
|
||||||
return False;
|
|
||||||
}
|
|
||||||
@@ -487,6 +490,7 @@ XRRGetCrtcTransform (Display *dpy,
|
|
||||||
for (p = 0; p < rep.currentNparamsFilter; p++) {
|
|
||||||
INT32 f;
|
|
||||||
if (e + 4 > end) {
|
|
||||||
+ XFree (attr);
|
|
||||||
XFree (extra);
|
|
||||||
return False;
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1ff9e7fa0e4adea912b16a5f0cfa7c1d35b0dcda0e216831f7715c8a3abcf51a
|
|
||||||
size 315769
|
|
3
libXrandr-1.5.2.tar.bz2
Normal file
3
libXrandr-1.5.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023
|
||||||
|
size 330726
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 11:00:39 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.5.2
|
||||||
|
* autogen: add default patch prefix
|
||||||
|
* autogen.sh: use quoted string variables
|
||||||
|
* autogen.sh: use exec instead of waiting for configure to finish
|
||||||
|
* Update configure.ac bug URL for gitlab migration
|
||||||
|
* Fix memory leak on error paths
|
||||||
|
* Add description of libXrandr to README.md
|
||||||
|
* Update README for gitlab migration
|
||||||
|
- supersedes U_libXrandr_fix-memory-leak.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 22 10:08:09 UTC 2017 - zaitor@opensuse.org
|
Wed Nov 22 10:08:09 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libXrandr
|
# spec file for package libXrandr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: libXrandr
|
Name: libXrandr
|
||||||
%define lname libXrandr2
|
%define lname libXrandr2
|
||||||
Version: 1.5.1
|
Version: 1.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: X Resize, Rotate and Reflection extension library
|
Summary: X Resize, Rotate and Reflection extension library
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -29,7 +29,6 @@ Url: http://xorg.freedesktop.org/
|
|||||||
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXrandr/
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXrandr/
|
||||||
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch: U_libXrandr_fix-memory-leak.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
||||||
@ -72,7 +71,6 @@ in %lname.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#git#autoreconf -fi
|
#git#autoreconf -fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user