Scott Wheeler
fdea6dcd40
Merge pull request #489 from TsudaKageyu/frame-flag-tests
...
Add some tests for huge memory allocation due to bad ID3v2 frame header ...
2015-01-05 02:03:06 +01:00
Tsuda Kageyu
ed253d3691
Add some tests for huge memory allocation due to bad ID3v2 frame header flags.
...
The tests covers #466 and #486 .
Also fixes a compilation error on some compilers.
2015-01-05 09:34:30 +09:00
Scott Wheeler
57729b834a
Show a debugging message when we have an error reading
2015-01-04 20:13:24 +01:00
Scott Wheeler
caa53e8de5
Read the compressed data as a stream
...
This avoids allocating the complete buffer at first based solely
on the value read from the frame header. This then does a sanity
check at the end of reading to make sure that the two values match.
At present, it just prints a debugging message if the values do not
match.
Fixes #466
2015-01-04 19:58:18 +01:00
Lukáš Lalinský
31982660c8
Merge pull request #485 from TsudaKageyu/oga-segfault
...
Fix a segfault when reading faulty Ogg/FLAC files.
2015-01-01 19:48:23 +01:00
Lukáš Lalinský
bd7b8cc36a
Merge pull request #473 from TsudaKageyu/fix-infotag
...
Fix an infinite loop when parsing an INFO tag.
2015-01-01 19:46:53 +01:00
Tsuda Kageyu
bc9bbfe3fa
Add a check for faulty Ogg/FLAC files.
2015-01-02 00:10:51 +09:00
Tsuda Kageyu
7adea3df22
Separate tests for fuzzed WAV files.
2015-01-01 23:18:43 +09:00
Tsuda Kageyu
5ebb2ece80
Fix a segfault when reading faulty Ogg/FLAC files.
2015-01-01 19:59:30 +09:00
Tsuda Kageyu
0d2e01df61
Fix a segfault when parsing WAV properties.
2014-12-31 01:46:30 +09:00
Tsuda Kageyu
695fb5ec16
Add a test for fuzzed WAV files.
2014-12-31 01:44:25 +09:00
Tsuda Kageyu
3170d47ec3
Fix an infinite loop when parsing an INFO tag.
2014-12-31 01:44:25 +09:00
Stephen F. Booth
79b7c14129
Merge pull request #481 from TsudaKageyu/aiff-c
...
Add support for AIFF-C files.
2014-12-30 10:51:17 -05:00
Tsuda Kageyu
977fb2aeb0
Fix compilation errors on Clang.
2014-12-31 00:41:22 +09:00
Tsuda Kageyu
3b8c7d4e3a
Add support for AIFF-C files.
2014-12-30 23:53:40 +09:00
Lukáš Lalinský
be33389884
Merge pull request #476 from TsudaKageyu/fuzzed-ape
...
Some fixes for fuzzed APE files.
2014-12-29 09:47:10 +01:00
Lukáš Lalinský
59ae61de6e
Merge pull request #456 from TsudaKageyu/id3v2-padding
...
ID3v2 padding won't increase beyond 1% of the file size.
2014-12-29 09:26:55 +01:00
Tsuda Kageyu
16ac2cd240
Added some tests for fuzzed APE files.
2014-12-23 21:02:00 +09:00
Tsuda Kageyu
61543432c0
Fix an excessive loop when parsing an APE file.
2014-12-23 20:58:36 +09:00
Tsuda Kageyu
4a9614bfc3
Fix a division by zero error when parsing an APE file.
2014-12-23 20:54:20 +09:00
Tsuda Kageyu
1a917a38cd
Fix ID3v2 padding size calculation.
2014-12-09 10:54:21 +09:00
Lukáš Lalinský
735e17f504
Merge remote-tracking branch 'TsudaKageyu/64bit-atom'
...
Conflicts:
ConfigureChecks.cmake
2014-12-08 16:52:33 -08:00
Tsuda Kageyu
0731bc7b2e
Remove CMake check for sizeof(long).
2014-12-09 08:55:46 +09:00
Bart van der Velden
fb1c744daf
Compile without warnings with MSVC
2014-12-08 09:42:04 -08:00
Lukáš Lalinský
1bc5acd7a7
Merge pull request #424 from TsudaKageyu/format
...
Unified redundant string format functions. (backport from taglib2)
2014-12-08 09:38:03 -08:00
Lukáš Lalinský
f30f5ccce5
Merge pull request #441 from xhochy/tests-fix-vectorsize
...
Fix ByteVector sizes in some test cases
2014-12-08 09:36:28 -08:00
Lukáš Lalinský
421eb5e97e
Merge pull request #420 from TsudaKageyu/remove-codecvt
...
Replaced codecvt with Win32 API.
2014-12-08 09:14:00 -08:00
Lukáš Lalinský
5e60ec48e9
Merge pull request #454 from TsudaKageyu/duplicate-id3v2
...
Skip duplicate ID3v2 tags in MPEG files.
2014-12-08 09:09:28 -08:00
Lukáš Lalinský
68eca440c9
Merge pull request #458 from achalddave/fix-gcc-errors
...
Fix more uint/TagLib::uint ambiguities
2014-12-08 08:54:27 -08:00
Achal Dave
7b03403791
Fix more uint/TagLib::uint ambiguities
2014-11-18 15:06:10 -08:00
Tsuda Kageyu
d80c4c96c3
ID3v2 padding won't increase beyond 1% of the file size.
2014-10-23 12:38:38 +09:00
Tsuda Kageyu
73b9b9b58d
Avoid reading an entire ID3v2 tag when skipping it.
2014-10-23 08:14:10 +09:00
Lukáš Lalinský
072851869a
Merge pull request #453 from TsudaKageyu/editorconfig
...
Suggestion: Use EditorConfig to help us stick to our coding style.
2014-10-22 19:31:14 +02:00
Tsuda Kageyu
269e78f1a0
Add a test for duplicate ID3v2 tags.
2014-10-21 00:16:43 +09:00
Tsuda Kageyu
71acf3b6f7
Comment on a weird workaround for duplicate ID3v2 tags.
2014-10-20 23:13:15 +09:00
Tsuda Kageyu
e41dc68a6b
Skip duplicate ID3v2 tags in MPEG files.
2014-10-20 21:21:32 +09:00
Tsuda Kageyu
cfad951442
Use EditorConfig to help us stick to our coding style.
...
http://editorconfig.org/
2014-10-20 11:27:30 +09:00
Lukáš Lalinský
23ffb24472
Merge pull request #448 from TsudaKageyu/msvc-error
...
Fix a compilation error on MSVC.
2014-10-16 10:15:51 +02:00
Tsuda Kageyu
a8bfcd81be
Fix a compilation error on MSVC.
2014-10-16 07:19:31 +09:00
Scott Wheeler
bd7419f0bd
Rebuild TRDC from v2.3 fields
...
This fixes an issue that was reported to me via email with the recording
date being thrown away from v2.3 tags.
2014-09-25 23:07:09 +02:00
Scott Wheeler
71c1ce375f
Don't leak
2014-09-25 20:46:47 +02:00
Scott Wheeler
cff8d22818
Missing assignment
2014-09-25 20:46:47 +02:00
Scott Wheeler
0051351ebb
TableOfContents and ChapterFrame can be added to v2.3 or v2.4 tags
2014-09-25 20:01:00 +02:00
Scott Wheeler
82315276db
Take ownership of embedded frames, as documented
...
Previously embedded frames that were created automatically were
never deleted.
Fixes #440
2014-09-18 16:23:28 +02:00
Scott Wheeler
8ea07be47e
Merge branch 'master' of https://github.com/taglib/taglib
2014-09-18 16:12:34 +02:00
Scott Wheeler
eae4605e6e
Merge pull request #439 from xhochy/test-memleaks
...
Fix various memleaks in the tests
2014-09-18 16:11:12 +02:00
Scott Wheeler
b6289c64dd
Break up the mega-lines
2014-09-18 11:21:18 +02:00
Scott Wheeler
e6d7dd08f2
No reason to store this in the d-pointer
2014-09-18 10:24:48 +02:00
Uwe L. Korn
ee283789b7
Fix ByteVector sizes in some test cases
2014-09-14 20:08:31 +01:00
Uwe L. Korn
205569c8d2
Fix various memleaks in the tests
2014-09-14 18:03:27 +01:00