[matroska] r826 - trunk/DvdMenuXtractor
[email protected] Sat, 18 Sep 2004 17:48:17 +0400 (MSD)
Newsgroups
gmane.comp.multimedia.matroska.cvs
Message-ID
<[email protected] >
Author: robux4
Date: 2004-09-18 17:48:16 +0400 (Sat, 18 Sep 2004)
New Revision: 826
Modified:
trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
fix a buffer overwrite
Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2004-09-18 13:41:50 UTC (rev 825)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2004-09-18 13:48:16 UTC (rev 826)
@@ -892,7 +892,7 @@
uint64_t OutputPGC(int lvl, wxTextFile & XmlFile, const pgc_t * pgc, uint64_t start_time, uint16_t pgc_num, unsigned char pgc_type, const ttu_t * ptts)
{
static unsigned char _PrivatePGC[] = {0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
- static unsigned char _PrivatePTT[] = {0x18, 0x00};
+ static unsigned char _PrivatePTT[] = {0x18, 0x00, 0x00};
uint64_t st_time = start_time, end_time;
XmlFile.AddLine(IndentString(lvl)+wxString::Format("<!-- PGC PGC_%d type %s -->",pgc_num+1,GetPGCType(pgc_type)));