diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-02-07 15:37:42 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-02-07 15:37:42 (GMT) |
commit | c4404dd92ebb3050bea07e668c90769d620338b9 (patch) | |
tree | f0ac875860a0d02dd776171946d8a857f44d70f1 | |
parent | 2aa2ce4953f981d9067473654a3857e5e1c73878 (diff) | |
download | linhes_pkgbuild-c4404dd92ebb3050bea07e668c90769d620338b9.zip linhes_pkgbuild-c4404dd92ebb3050bea07e668c90769d620338b9.tar.gz linhes_pkgbuild-c4404dd92ebb3050bea07e668c90769d620338b9.tar.bz2 |
libdvdnav: add patch
-rw-r--r-- | abs/core/libdvdnav/fix-crash-describe_title.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/libdvdnav/fix-crash-describe_title.patch b/abs/core/libdvdnav/fix-crash-describe_title.patch new file mode 100644 index 0000000..1c07336 --- /dev/null +++ b/abs/core/libdvdnav/fix-crash-describe_title.patch @@ -0,0 +1,29 @@ +From 8a270d6dd40ac43c98c948fe9d10e5bcb4aa3d41 Mon Sep 17 00:00:00 2001 +From: Jean-Baptiste Kempf <jb@videolan.org> +Date: Tue, 1 Sep 2015 16:00:59 +0200 +Subject: [PATCH] Fix crashes with some DVDs on describe_title + +This is a stop-over, but the actual issue is not fixed +--- + src/searching.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/searching.c b/src/searching.c +index 70c0f85..f638b61 100644 +--- a/src/searching.c ++++ b/src/searching.c +@@ -644,6 +644,11 @@ uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, uint64_t + if(!tmp) + goto fail; + ++ if(!ptt) { ++ printerr("ptt NULL"); ++ goto fail; ++ } ++ + length = 0; + for(i=0; i<parts; i++) { + uint32_t cellnr, endcellnr; +-- +1.7.10.4 + |