diff options
Diffstat (limited to 'contrib/libdvdread/A05-short-ptt-table.patch')
-rw-r--r-- | contrib/libdvdread/A05-short-ptt-table.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/contrib/libdvdread/A05-short-ptt-table.patch b/contrib/libdvdread/A05-short-ptt-table.patch deleted file mode 100644 index edfaec2ab..000000000 --- a/contrib/libdvdread/A05-short-ptt-table.patch +++ /dev/null @@ -1,19 +0,0 @@ -Index: ifo_read.c -=================================================================== ---- libdvdread.orig/src/ifo_read.c 2009-10-29 09:11:32.066743831 -0700 -+++ libdvdread/src/ifo_read.c 2009-11-13 10:27:49.293174360 -0800 -@@ -1138,6 +1127,14 @@ - return 0; - } - -+ if(vts_ptt_srpt->nr_of_srpts * sizeof(uint32_t) > info_length) { -+ fprintf(stderr, "libdvdread: PTT search table too small.\n"); -+ free(vts_ptt_srpt); -+ free(data); -+ ifofile->vts_ptt_srpt = 0; -+ return 0; -+ } -+ - for(i = 0; i < vts_ptt_srpt->nr_of_srpts; i++) { - B2N_32(data[i]); - /* assert(data[i] + sizeof(ptt_info_t) <= vts_ptt_srpt->last_byte + 1); |