summaryrefslogtreecommitdiff
path: root/tests/test_tile_decoder.c
AgeCommit message (Collapse)Author
2016-09-21Fix some issues reported by Coverity Scan (#846)Stefan Weil
* test_tile_decoder: Fix potential buffer overflow (coverity) CID 1190155 (#1 of 1): Unbounded source buffer (STRING_SIZE) Using a pointer instead of buffer of fixed size avoids the limit for the length of the input file name. Signed-off-by: Stefan Weil <sw@weilnetz.de> * test_tile_encoder: Fix potential buffer overflow (coverity) CID 1190154 (#1 of 1): Unbounded source buffer (STRING_SIZE) Using a pointer instead of buffer of fixed size avoids the limit for the length of the output file name. This implies that the length can exceed 255, so the data type for variable len had to be fixed, too. Signed-off-by: Stefan Weil <sw@weilnetz.de> * openjpip: Initialize data before returning it This fixes an error reported by Coverity: CID 1190143 (#1 of 1): Uninitialized scalar variable (UNINIT) Signed-off-by: Stefan Weil <sw@weilnetz.de>
2014-04-23[trunk]Replaced deprecated opj_stream_set_user_data function from APIAntonin Descampe
with its 'v3' version, and removed all other 'v3' suffixes from API.
2014-03-06[trunk] Remove simple warning about unused variablesMathieu Malaterre
2014-03-03[trunk] Remove unused variables from testMathieu Malaterre
2014-02-26[trunk] Remove some simple warnings about cast, and unused functionsMathieu Malaterre
2013-02-17[trunk] move to the new API for function ↵Mickael Savinaud
opj_stream_create_default_file_stream. Use now opj_stream_create_default_file_stream_v3 (WIP)
2013-02-16[trunk] move to the new API for function opj_stream_destroy. Use now ↵Mickael Savinaud
opj_stream_destroy_v3 (WIP)
2012-11-15[trunk]extend last commits to appsMickael Savinaud
2012-10-15[trunk] Remove some warnings about missing prototypes (gcc)Mathieu Malaterre
2012-09-10[trunk] Fix one remaining issue with C90 compatMathieu Malaterre
2012-08-22[trunk] realloc is misused and may leak memory (Issue#168)Luc Hermitte
2012-08-09[trunk] rename opj_setup_decoder_v2 to opj_setup_decoderMickael Savinaud
2012-08-09[trunk] rename opj_create_decompress_v2 to opj_create_decompressMickael Savinaud
2012-08-09Add file type detection in test_tile_decoder to support JP2 file as inputMickael Savinaud
2012-08-09Reorganize and clean style of test_tile_decoder.cMickael Savinaud
2012-05-21Activate tile decoding system to reproduce issuesMathieu Malaterre
2012-05-14[trunk] Fix remaining compilation errorsMathieu Malaterre
2012-05-14remove opj_event_mgr struct from test_tile_decoderMickael Savinaud
2012-05-14[trunk] Fix using proper v2 functionMathieu Malaterre
2012-05-14[trunk] Import from v2 test_tile_decoderMathieu Malaterre