]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix regression auto/th/rpm-5.4.12-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 1 Aug 2013 17:23:48 +0000 (19:23 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 1 Aug 2013 17:23:48 +0000 (19:23 +0200)
- rel 2

rpm-5.4.12-copy-Value-string.patch [new file with mode: 0644]
rpm.spec

diff --git a/rpm-5.4.12-copy-Value-string.patch b/rpm-5.4.12-copy-Value-string.patch
new file mode 100644 (file)
index 0000000..fb2af38
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpm-5.4.12/build/expression.c.strdup~      2013-07-31 18:10:52.556444318 +0200
++++ rpm-5.4.12/build/expression.c      2013-07-31 18:10:30.794081121 +0200
+@@ -63,7 +63,7 @@ static Value valueMakeString(/*@only@*/
+     v = (Value) xmalloc(sizeof(*v));
+     v->type = VALUE_TYPE_STRING;
+-    v->data.s = s;
++    v->data.s = xstrdup(s);
+     return v;
+ }
index 01b00f8169c4f896e4dbc24a2bfad260aed1967f..5be9aef4e12bb5a6fc1810abbcbd02322f452ff9 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -43,7 +43,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.4.12
-Release:       1
+Release:       2
 License:       LGPL v2.1
 Group:         Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.12-0.20130725.src.rpm
@@ -265,6 +265,8 @@ Patch1040:  %{name}-5.4.9-support-signatures-and-digest-disablers.patch
 Patch1041:     %{name}-5.4.9-disable-l10ndir.patch
 # status: ready for merge
 Patch1042:     %{name}-5.4.9-fix-rpm_qa-pattern.patch
+# warning: introduces memory leak
+Patch1043:     %{name}-5.4.12-copy-Value-string.patch
 
 URL:           http://rpm5.org/
 BuildRequires: %{reqdb_pkg}-devel >= %{reqdb_pkgver}
@@ -936,6 +938,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch1040 -p1
 %patch1041 -p1
 %patch1042 -p1
+%patch1043 -p1
 %patch68 -p1
 %patch69 -p1
 
This page took 0.035779 seconds and 4 git commands to generate.