openjpeg/tests
Stefan Weil 8715ce2749 Fix some issues reported by Coverity Scan (#846)
* 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>
2016-09-21 21:15:25 +02:00
..
conformance Add option to force component splitting in imagetopnm 2015-07-11 11:35:21 +02:00
nonregression Add test for issue 820 (#829) 2016-09-11 19:47:32 +02:00
unit Use lowercase for cmake commands consistenly 2016-05-02 16:05:41 +02:00
CMakeLists.txt Add compilation test for standalone inclusion of openjpeg.h (#798) 2016-07-14 11:06:26 +02:00
compare_dump_files.c Add sanity check for tile coordinates (#823) 2016-09-08 00:24:15 +02:00
compare_images.c Update lcms (#544) 2016-04-30 17:58:04 +02:00
compare_raw_files.c [trunk] fixed return value for compare_raw_files (fixes issue 453) 2014-12-20 12:42:40 +00:00
include_openjpeg.c Add compilation test for standalone inclusion of openjpeg.h (#798) 2016-07-14 11:06:26 +02:00
j2k_random_tile_access.c [trunk]Replaced deprecated opj_stream_set_user_data function from API 2014-04-23 07:46:11 +00:00
pdf2jp2.c trunk: extend support for pdf2jp2 2014-09-19 15:48:48 +00:00
ppm2rgb3.c [trunk] Add documentation 2014-03-25 10:22:40 +00:00
test_tile_decoder.c Fix some issues reported by Coverity Scan (#846) 2016-09-21 21:15:25 +02:00
test_tile_encoder.c Fix some issues reported by Coverity Scan (#846) 2016-09-21 21:15:25 +02:00