[SCM] libaacs/master: add 01_key-parser-Fix-resource-leak.patch

ricotz-guest at users.alioth.debian.org ricotz-guest at users.alioth.debian.org
Wed Sep 19 06:42:58 UTC 2012


The following commit has been merged in the master branch:
commit 32403f79e70a37bc8ac15298b6343536473b02d8
Author: Rico Tzschichholz <ricotz at t-online.de>
Date:   Wed Sep 19 08:40:58 2012 +0200

    add 01_key-parser-Fix-resource-leak.patch

diff --git a/debian/patches/01_key-parser-Fix-resource-leak.patch b/debian/patches/01_key-parser-Fix-resource-leak.patch
new file mode 100644
index 0000000..1f9ba04
--- /dev/null
+++ b/debian/patches/01_key-parser-Fix-resource-leak.patch
@@ -0,0 +1,25 @@
+From 49b3ccb16657599ed08e5e7018e79d63e1bde2a9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <beauze.h at gmail.com>
+Date: Mon, 27 Aug 2012 23:35:16 +0300
+Subject: [PATCH] key parser: Fix resource leak
+
+---
+ src/file/keydbcfg-parser.y |    2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/file/keydbcfg-parser.y b/src/file/keydbcfg-parser.y
+index dd9506c..11a902b 100644
+--- a/src/file/keydbcfg-parser.y
++++ b/src/file/keydbcfg-parser.y
+@@ -449,6 +449,8 @@ int keydbcfg_parse_config(config_file *cfgfile, const char *path)
+   cfgfile->host_cert_list = head_clist;
+   cfgfile->list = head_celist;
+ 
++  fclose(fp);
++
+   if (retval)
+     return 0;
+ 
+-- 
+1.7.10.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6820db0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_key-parser-Fix-resource-leak.patch

-- 
libaacs packaging



More information about the pkg-multimedia-commits mailing list