~ubuntu-branches/ubuntu/raring/libdvdread/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/07-vts-tmapt.patch

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann
  • Date: 2012-06-29 23:01:44 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: package-import@ubuntu.com-20120629230144-pawc4v4zwuwgwuxx
Tags: 4.2.0+20120521-2
* Correcting some editorial mistakes in copyright file.
* Updating GPL boilerplate in copyright file.
* Switching to xz compression.
* Correcting hurd.patch, thanks to Jan Schmidt
  <jan.schmidt@oracle.com> (Closes: #651926, #653516, #677493).
* Adding patch from Mario Holbe <mario.holbe@tu-ilmenau.de> to work
  with file system descriptors located at the end of the disk rather
  than at the beginning (Closes: #663512).
* Adding patch from Bryce Harrington <bryce@ubuntu.com> to stifle the
  'Please send bug report - no VTS_TMAPT ??' message (Closes: #281186,
  #281575, #316926, #541723).
* Adding patch from Doug Springer <gpib@rickyrockrat.net> to fix
  read/write beyond end of an array due to using a length value taken
  from the DVD, which can exceed the allocated size, causing a
  segmentation fault (Closes: #649790).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Bryce Harrington <bryce@ubuntu.com>
 
2
Description:
 
3
 Stifle the "Please send bug report - no VTS_TMAPT ??" message.
 
4
 Upstream indicates it's merely a warning and not an indication
 
5
 of a bug that needs reported (Closes: #281186, #281575, #316926,
 
6
 #541723).
 
7
 
 
8
diff -Naurp libdvdread.orig/src/ifo_read.c libdvdread/src/ifo_read.c
 
9
--- libdvdread.orig/src/ifo_read.c      2012-06-29 22:20:05.645230527 +0200
 
10
+++ libdvdread/src/ifo_read.c   2012-06-29 22:31:13.183111184 +0200
 
11
@@ -1442,7 +1442,7 @@ int ifoRead_VTS_TMAPT(ifo_handle_t *ifof
 
12
 
 
13
   if(ifofile->vtsi_mat->vts_tmapt == 0) { /* optional(?) */
 
14
     ifofile->vts_tmapt = NULL;
 
15
-    fprintf(stderr,"Please send bug report - no VTS_TMAPT ?? \n");
 
16
+    fprintf(stderr,"No VTS_TMAPT available - skipping.\n");
 
17
     return 1;
 
18
   }
 
19