[matroska] r826 - trunk/DvdMenuXtractor

[email protected]
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)));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.