Commit Graph

35 Commits

Author SHA1 Message Date
Moritz Bunkus
580add661f Bump version number, add release message 2015-10-20 15:05:13 +02:00
Moritz Bunkus
88409e2a94 EbmlMaster: propagate upper level element after infinite sized one correctly
When the parser encountered a deeply nested element with an infinite
size then a following element of an upper level was not propagated
correctly. Instead the element with the infinite size was added into the
EBML element tree a second time resulting in memory access after freeing
it and multiple attempts to free the same memory address during
destruction.

Fixes the issue reported as Cisco TALOS-CAN-0037.
2015-10-20 14:54:55 +02:00
Moritz Bunkus
24e5cd7c66 EbmlElement: don't read beyond end of buffer when reading variable length integers 2015-10-20 14:54:55 +02:00
Moritz Bunkus
ababb64e0c EbmlUnicodeString: don't read beyond end of string
The conversion from an UTF-8 encoded string into a wchar_t one was
reading from beyond the end of the source buffer if the length indicated
by a UTF-8 character's first byte exceeds the number of bytes actually
present afterwards.

Fixes the issue reported as Cisco TALOS-CAN-0036.
2015-10-20 14:54:55 +02:00
Moritz Bunkus
c161e600b3 Bump version number, add release message 2015-10-17 15:47:22 +02:00
Moritz Bunkus
b1a4c9ac00 EbmlElement: don't catch exceptions when writing elements 2015-01-04 15:05:42 +01:00
Moritz Bunkus
38eee9f0d6 ChangeLog: add release message 2015-01-04 14:28:53 +01:00
Moritz Bunkus
7bb5523d4e ChangeLog: recode to UTF-8 2014-12-21 11:38:31 +01:00
Moritz Bunkus
3be9e9b1d9 ChangeLog: mention the pkg-config file 2014-12-21 10:51:12 +01:00
Moritz Bunkus
7b8b0a6271 ChangeLog: update with build system changes 2014-12-21 10:12:09 +01:00
Moritz Bunkus
8055be972c EbmlMaster::Read(): drop elements with unset values in SCOPE_FULL_DATA mode
This prevents elements that couldn't be read properly (e.g. due to
defective data) from being handed over to the calling code in at best
half initialized state. See https://trac.bunkus.org/ticket/1096
2014-12-20 17:30:06 +01:00
Moritz Bunkus
6ba868a49b MemReadIOCallback, SafeReadIOCallback: add new classes for safe (memory) reading
squash! EbmlMemoryStream: add new class for safe memory reading
2014-12-20 17:29:48 +01:00
Moritz Bunkus
7a347adc37 ChangeLog update 2014-12-19 00:20:32 +01:00
Moritz Bunkus
cd33ce4fe6 Remove debian build files 2013-03-19 19:42:58 +01:00
Moritz Bunkus
f8d29fb6bd Update ChangeLog and Debian changelog 2013-03-19 18:34:18 +01:00
Moritz Bunkus
f13ccea959 Update ChangeLog 2013-03-19 18:24:07 +01:00
Steve Lhomme
ffeea955a0 libebml: fix some compilation warnings in mingw
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@821 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-10-18 16:55:49 +00:00
Moritz Bunkus
f9489f1f80 changelog update, version number updates
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@811 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-09-23 11:26:59 +00:00
Moritz Bunkus
84f17676f0 Release date update
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@762 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-26 17:39:25 +00:00
Steve Lhomme
8200c78a85 libebml: update the ChangeLog for a pending release
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@755 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-06-12 09:20:21 +00:00
Moritz Bunkus
8c6c464477 Set release date
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@651 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-01-30 10:59:22 +00:00
Moritz Bunkus
41febc9010 Increased library .so name to .3; set version number to 1.2.0
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@648 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-01-29 11:45:50 +00:00
Moritz Bunkus
4ced4ea53e Fix handling of UTF-8 strings with characters encoded in more than three bytes.
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@647 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2011-01-29 11:42:15 +00:00
Steve Lhomme
14039ff241 fix compilation under gcc 4.5
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@520 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-08-19 12:01:28 +00:00
Steve Lhomme
99fad2afdf fix CRC32 detection in master elements
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@493 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-08-12 18:27:18 +00:00
Steve Lhomme
42044e93f5 more safety on the Binary buffer handling in case we run out of memory
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@491 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-08-10 19:04:58 +00:00
Steve Lhomme
df5620c733 libebml: no need to put the internal code of EbmlCRC32 in the public header
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@486 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-08-08 11:16:14 +00:00
Steve Lhomme
5c051f95f2 ChangeLog update
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@386 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-07-04 09:33:42 +00:00
Steve Lhomme
866099132f libebml: EbmlElement::VoidMe() now returns a uint64
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@364 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-30 06:07:40 +00:00
Steve Lhomme
5607f4ebc8 libebml: move some operator code in the .cpp files (MSVC has issues in DLLs)
+ libmatroska ChangeLog

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@347 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-26 09:07:13 +00:00
Steve Lhomme
6c352b0f1d libebml/libmatrosla: update the ChangeLog for the 1.0.0 release and fix the compilation
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@295 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-06-04 11:03:46 +00:00
Steve Lhomme
9c1e708150 libebml: fix the EBMLDummy ID reading and displaying
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@251 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-22 12:53:29 +00:00
Steve Lhomme
2ddda867cd libebml: 0.8.1 fix the infinite/unknown size reading in EbmlElement::FindNextElement()
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@250 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-05-22 12:10:55 +00:00
Steve Lhomme
5fd406ae80 v1: update the ChangeLog files for imminent release
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@150 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-04-30 10:19:47 +00:00
Steve Lhomme
0a891b23be move the sources from the dead coreforge server
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@1 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-02-18 08:13:06 +00:00