File CVE-2019-2126.patch of Package libvpx.14316

commit 562301346008c30d4a9bfc4e516d675320d4a55a
Author: Frank Galligan <fgalligan@google.com>
Date:   Fri May 3 16:13:45 2019 -0700

    Fixes a double free in ContentEncoding
    
    BUG=b/127702368
    
    Change-Id: Ifa958d72f8e2e75bae4cddd5c6d3625882da7c2b

Index: libwebm/mkvparser/mkvparser.cc
===================================================================
--- third_party/libwebm/mkvparser/mkvparser.cc
+++ third_party/libwebm/mkvparser/mkvparser.cc
@@ -4225,6 +4225,7 @@ long ContentEncoding::ParseContentEncodi
         new (std::nothrow) ContentEncryption*[encryption_count];
     if (!encryption_entries_) {
       delete[] compression_entries_;
+      compression_entries_ = NULL;
       return -1;
     }
     encryption_entries_end_ = encryption_entries_;
openSUSE Build Service is sponsored by