diff --git a/abi-check/changelog/openjpeg/current/log.html b/abi-check/changelog/openjpeg/current/log.html index 913a049b..9f66c9b2 100644 --- a/abi-check/changelog/openjpeg/current/log.html +++ b/abi-check/changelog/openjpeg/current/log.html @@ -20,7 +20,40 @@

Changelog from Git



-
commit 045aa4d9f297b8d3d5f89e9983a54252d103a3da
+
commit 8715ce2749d1e5a1e9c77646e9a2ddf0ec82bac9
+Author: Stefan Weil <sw@weilnetz.de>
+Date:   2016-09-21 21:15:25 +0200
+
+    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>
+
+commit 045aa4d9f297b8d3d5f89e9983a54252d103a3da
 Author: Stefan Weil <sw@weilnetz.de>
 Date:   2016-09-21 13:17:09 +0200
 
@@ -786,15 +819,6 @@ Date:   2016-05-01 18:05:46 +0200
 
     Update to libtiff-4.0.6 (#764)
 
-commit 4f11e89c803fd9a332698bc36338a4be87c6d199
-Author: mayeut <mayeut@users.noreply.github.com>
-Date:   2016-04-30 18:51:36 +0200
-
-    Add tests for recent issues
-    
-    Update uclouvain/openjpeg#725
-    Update uclouvain/openjpeg#726
-
 ...
diff --git a/abi-check/db/openjpeg/Tracker.data b/abi-check/db/openjpeg/Tracker.data index e28d856c..bb8c2d71 100644 --- a/abi-check/db/openjpeg/Tracker.data +++ b/abi-check/db/openjpeg/Tracker.data @@ -423,7 +423,7 @@ $VAR1 = { '2.0.1' => '2014-04-22 07:53', '2.1' => '2014-04-29 12:58', '2.1.1' => '2016-07-05 14:54', - 'current' => '2016-09-21 13:17:09' + 'current' => '2016-09-21 21:15:25' }, 'HeadersDiff' => { '1.1' => { @@ -491,7 +491,7 @@ $VAR1 = { 'Maintainer' => 'OpenJPEG team', 'MaintainerUrl' => 'http://www.openjpeg.org/', 'PackageDiff' => {}, - 'ScmUpdateTime' => '1474457128', + 'ScmUpdateTime' => '1474485820', 'Soname' => { '1.1' => { 'lib/libopenjpeg.so' => 'libopenjpeg.so' diff --git a/abi-check/installed/openjpeg/2.1.1/lib/libopenjp2.so.2.1.1 b/abi-check/installed/openjpeg/2.1.1/lib/libopenjp2.so.2.1.1 index 52f698b4..9a74ce89 100644 Binary files a/abi-check/installed/openjpeg/2.1.1/lib/libopenjp2.so.2.1.1 and b/abi-check/installed/openjpeg/2.1.1/lib/libopenjp2.so.2.1.1 differ diff --git a/abi-check/installed/openjpeg/current/include/openjpeg-2.1/openjpeg.h b/abi-check/installed/openjpeg/current/include/openjpeg-2.1/openjpeg.h index c07e9c84..7912c236 100644 --- a/abi-check/installed/openjpeg/current/include/openjpeg-2.1/openjpeg.h +++ b/abi-check/installed/openjpeg/current/include/openjpeg-2.1/openjpeg.h @@ -1262,6 +1262,25 @@ OPJ_API void OPJ_CALLCONV opj_set_default_decoder_parameters(opj_dparameters_t * OPJ_API OPJ_BOOL OPJ_CALLCONV opj_setup_decoder(opj_codec_t *p_codec, opj_dparameters_t *parameters ); +/** + * Allocates worker threads for the compressor/decompressor. + * + * By default, only the main thread is used. If this function is not used, + * but the OPJ_NUM_THREADS environment variable is set, its value will be + * used to initialize the number of threads. The value can be either an integer + * number, or "ALL_CPUS". If OPJ_NUM_THREADS is set and this function is called, + * this function will override the behaviour of the environment variable. + * + * Note: currently only has effect on the decompressor. + * + * @param p_codec decompressor handler + * @param num_threads number of threads. + * + * @return OPJ_TRUE if the decoder is correctly set + */ +OPJ_API OPJ_BOOL OPJ_CALLCONV opj_codec_set_threads(opj_codec_t *p_codec, + int num_threads); + /** * Decodes an image header. * @@ -1554,6 +1573,19 @@ OPJ_API OPJ_BOOL OPJ_CALLCONV opj_set_MCT( opj_cparameters_t *parameters, OPJ_INT32 * p_dc_shift, OPJ_UINT32 pNbComp); +/* +========================================================== + Thread functions +========================================================== +*/ + +/** Returns if the library is built with thread support. + * OPJ_TRUE if mutex, condition, thread, thread pool are available. + */ +OPJ_API OPJ_BOOL OPJ_CALLCONV opj_has_thread_support(void); + +/** Return the number of virtual CPUs */ +OPJ_API int OPJ_CALLCONV opj_get_num_cpus(void); #ifdef __cplusplus diff --git a/abi-check/installed/openjpeg/current/lib/libopenjp2.so.2.1.1 b/abi-check/installed/openjpeg/current/lib/libopenjp2.so.2.1.1 index a55b825b..e021224b 100644 Binary files a/abi-check/installed/openjpeg/current/lib/libopenjp2.so.2.1.1 and b/abi-check/installed/openjpeg/current/lib/libopenjp2.so.2.1.1 differ diff --git a/abi-check/installed/openjpeg/current/lib/openjpeg-2.1/OpenJPEGTargets-debug.cmake b/abi-check/installed/openjpeg/current/lib/openjpeg-2.1/OpenJPEGTargets-debug.cmake index b98a3b76..d5baa006 100644 --- a/abi-check/installed/openjpeg/current/lib/openjpeg-2.1/OpenJPEGTargets-debug.cmake +++ b/abi-check/installed/openjpeg/current/lib/openjpeg-2.1/OpenJPEGTargets-debug.cmake @@ -13,7 +13,7 @@ GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) # Import target "openjp2" for configuration "Debug" SET_PROPERTY(TARGET openjp2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) SET_TARGET_PROPERTIES(openjp2 PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG "m" + IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG "m;-lpthread" IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libopenjp2.so.2.1.1" IMPORTED_SONAME_DEBUG "libopenjp2.so.7" ) diff --git a/abi-check/openjpeg.json b/abi-check/openjpeg.json index 27d7c7fc..71800a4c 100644 --- a/abi-check/openjpeg.json +++ b/abi-check/openjpeg.json @@ -113,9 +113,7 @@ "HeadersDiff": "On", "PkgDiff": "Off", "ABIView": "Off", - "ABIDiff": "Off", - "PublicSymbols": "public_symbols/openjpeg/1.4/list", - "PublicTypes": "public_types/openjpeg/1.4/list" + "ABIDiff": "Off" }, { "Number": "1.2", @@ -125,9 +123,7 @@ "HeadersDiff": "On", "PkgDiff": "Off", "ABIView": "Off", - "ABIDiff": "Off", - "PublicSymbols": "public_symbols/openjpeg/1.2/list", - "PublicTypes": "public_types/openjpeg/1.2/list" + "ABIDiff": "Off" }, { "Number": "1.1", diff --git a/abi-check/timeline/openjpeg/index.html b/abi-check/timeline/openjpeg/index.html index 439ade7f..bfae1902 100644 --- a/abi-check/timeline/openjpeg/index.html +++ b/abi-check/timeline/openjpeg/index.html @@ -30,7 +30,7 @@ Headers
Diff current -2016-09-21
13:17 +2016-09-21
21:15 7 changelog 100% @@ -143,7 +143,7 @@ N/A N/A -
Maintained by OpenJPEG team. Last updated on Wed Sep 21 12:21:51 2016.
+
Maintained by OpenJPEG team. Last updated on Wed Sep 21 19:24:10 2016.


abi-laboratory.pro