Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=be4603b5add3803d382fdab6ffcf0a9f62ff307f

commit be4603b5add3803d382fdab6ffcf0a9f62ff307f
Author: DeX77 <[email protected]>
Date:   Tue Sep 6 16:25:57 2016 +0200

libyaml-0.1.7-1-x86_64

* version bump

diff --git a/source/lib/libyaml/CVE-2014-2525.patch 
b/source/lib/libyaml/CVE-2014-2525.patch
deleted file mode 100644
index 4b3e362..0000000
--- a/source/lib/libyaml/CVE-2014-2525.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Description: CVE-2014-2525: Heap overflow when parsing YAML tags
-  The heap overflow is caused by not properly expanding a string before
-  writing to it in function yaml_parser_scan_uri_escapes in scanner.c.
-Origin: upstream
-Last-Update: 2014-03-20
-Applied-Upstream: 0.1.6
-
---- a/src/scanner.c
-+++ b/src/scanner.c
-@@ -2629,6 +2629,9 @@
-         /* Check if it is a URI-escape sequence. */
-
-         if (CHECK(parser->buffer, '%')) {
-+            if (!STRING_EXTEND(parser, string))
-+                goto error;
-+
-             if (!yaml_parser_scan_uri_escapes(parser,
-                         directive, start_mark, &string)) goto error;
-         }
---- a/src/yaml_private.h
-+++ b/src/yaml_private.h
-@@ -133,9 +133,12 @@
-      (string).start = (string).pointer = (string).end = 0)
-
- #define STRING_EXTEND(context,string)                                         
  \
--    (((string).pointer+5 < (string).end)                                      
  \
-+    ((((string).pointer+5 < (string).end)                                     
  \
-         || yaml_string_extend(&(string).start,                                
  \
--            &(string).pointer, &(string).end))
-+            &(string).pointer, &(string).end)) ?                              
  \
-+         1 :                                                                  
  \
-+        ((context)->error = YAML_MEMORY_ERROR,                                
  \
-+         0))
-
- #define CLEAR(context,string)                                                 
  \
-     ((string).pointer = (string).start,                                       
  \
diff --git a/source/lib/libyaml/CVE-2014-9130.patch 
b/source/lib/libyaml/CVE-2014-9130.patch
deleted file mode 100644
index 0faa81d..0000000
--- a/source/lib/libyaml/CVE-2014-9130.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Subject: CVE-2014-9130: assert failure when processing wrapped strings
-Origin: upstream, 
https://bitbucket.org/xi/libyaml/commits/2b9156756423e967cfd09a61d125d883fca6f4f2
-Bug: https://bitbucket.org/xi/libyaml/issue/10
-Bug-Debian: https://bugs.debian.org/771366
-Forwarded: not-needed
-From: Kirill Simonov <[email protected]>
-Last-Update: 2014-12-13
-
----
- src/scanner.c | 7 -------
- 1 file changed, 7 deletions(-)
-
---- a/src/scanner.c
-+++ b/src/scanner.c
-@@ -1106,13 +1106,6 @@ yaml_parser_save_simple_key(yaml_parser_
-             && parser->indent == (ptrdiff_t)parser->mark.column);
-
-     /*
--     * A simple key is required only when it is the first token in the current
--     * line.  Therefore it is always allowed.  But we add a check anyway.
--     */
--
--    assert(parser->simple_key_allowed || !required);    /* Impossible. */
--
--    /*
-      * If the current position may start a simple key, save it.
-      */
-
diff --git a/source/lib/libyaml/FrugalBuild b/source/lib/libyaml/FrugalBuild
index 7e50026..c28dbc4 100644
--- a/source/lib/libyaml/FrugalBuild
+++ b/source/lib/libyaml/FrugalBuild
@@ -4,8 +4,8 @@

pkgname=libyaml
_F_archive_name="yaml"
-pkgver=0.1.5
-pkgrel=4
+pkgver=0.1.7
+pkgrel=1
pkgdesc="LibYAML is a YAML 1.1 parser and emitter written in C."
url="http://pyyaml.org/wiki/LibYAML";
depends=('glibc')
@@ -14,12 +14,6 @@ archs=('i686' 'x86_64')
up2date="Flasttar http://pyyaml.org/wiki/LibYAML";
source=(http://pyyaml.org/download/$pkgname/$_F_archive_name-$pkgver.tar.gz)
_F_cd_path="yaml-$pkgver"
-sha1sums=('8b78cb9f759c7d80db8a7328c0ebecfe34fde737')
-
-# FSA fix ***
-source=(${source[@]} CVE-2014-2525.patch CVE-2014-9130.patch)
-sha1sums=(${sha1sums[@]} '6065e7492bf6e4e949a4c2c70abab9595e521202' \
-                         '424b89f24499a7ef5ef004e1b5e53479eee5ffd4')
-# ***********
+sha1sums=('3590cbf092ef4c71bc0a9b404c00a626b1e04dee')

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to