[DVDnav-discuss] Fix crashes with some DVDs on describe_title
Jean-Baptiste Kempf
git at videolan.org
Tue Sep 1 18:54:20 CEST 2015
libdvdnav | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 1 16:00:59 2015 +0200| [8a270d6dd40ac43c98c948fe9d10e5bcb4aa3d41] | committer: Jean-Baptiste Kempf
Fix crashes with some DVDs on describe_title
This is a stop-over, but the actual issue is not fixed
> http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=8a270d6dd40ac43c98c948fe9d10e5bcb4aa3d41
---
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;
More information about the DVDnav-discuss
mailing list