mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the array size of Atypes in cPatFilter::Process()
This commit is contained in:
parent
27852272bc
commit
22a4f5a504
@ -1097,6 +1097,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
|
||||
for reporting a possible out of buffer memory access in case of bad TS data
|
||||
for implementing handling of HD resolution subtitles according to v1.3.1 of
|
||||
ETSI EN 300 743, chapter 7.2.1
|
||||
for fixing the array size of Atypes in cPatFilter::Process()
|
||||
|
||||
Ralf Klueber <ralf.klueber@vodafone.com>
|
||||
for reporting a bug in cutting a recording if there is only a single editing mark
|
||||
|
2
HISTORY
2
HISTORY
@ -6472,3 +6472,5 @@ Video Disk Recorder Revision History
|
||||
- Updated the Portuguese language texts (thanks to Cristiano A.
|
||||
Silva).
|
||||
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
||||
- Fixed the array size of Atypes in cPatFilter::Process() (thanks to
|
||||
Rolf Ahrenberg).
|
||||
|
4
pat.c
4
pat.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: pat.c 2.12 2010/06/13 10:28:19 kls Exp $
|
||||
* $Id: pat.c 2.13 2010/06/13 11:12:12 kls Exp $
|
||||
*/
|
||||
|
||||
#include "pat.h"
|
||||
@ -332,7 +332,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
||||
int Ppid = 0;
|
||||
int Vtype = 0;
|
||||
int Apids[MAXAPIDS + 1] = { 0 }; // these lists are zero-terminated
|
||||
int Atypes[MAXDPIDS + 1] = { 0 };
|
||||
int Atypes[MAXAPIDS + 1] = { 0 };
|
||||
int Dpids[MAXDPIDS + 1] = { 0 };
|
||||
int Dtypes[MAXDPIDS + 1] = { 0 };
|
||||
int Spids[MAXSPIDS + 1] = { 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user