| Age | Commit message (Collapse) | Author |
|
Escape quotes to ensure README renders on GitHub correctly
|
|
|
|
Fixes the following warnings from man:
`R' is a string (producing the registered sign), not a macro.
|
|
|
|
Decoding some valid .jp2 files like Sentinel2 datasets leads to warnings like:
No incltree created.
tgt_create tree->numnodes == 0, no tree created.
No imsbtree created.
tgt_create tree->numnodes == 0, no tree created.
Besides that, the image is correctly decoded. So there is no reason to emit
those warnings.
|
|
This change allows to get all required CFLAGS/LDFLAGS in case of static only
build.
This build issue [1] was triggered by the Buildroot farms.
[1] http://autobuild.buildroot.net/results/d0d/d0d22727311d6300e0e400728126170407bfd699/build-end.log
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Malformed PNM file could cause a crash in opj_compress.
Checks were added to prevent this.
Fixes #843
Updates #440
|
|
* 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>
|
|
* query_parser: Fix potential out-of-bounds read (coverity)
CID 1190207 (#1 of 1): Out-of-bounds read (OVERRUN)
Variable i must be checked before testing query_param.box_type.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* jpip_parser: Fix potential out-of-bounds read (coverity)
CID 1190206 (#1 of 1): Out-of-bounds read (OVERRUN)
Variable i must be checked before testing query_param.box_type.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|
Fix issue 833.
|
|
Fix #831
|
|
renaming to be consistent with previous OPJ CMake options
|
|
The check was already done. It’s been simplified.
Reformat to get consistent style throughout the functions.
|
|
See
https://pdfium.googlesource.com/pdfium/+/b20ab6c7acb3be1393461eb650ca8fa4660c937e/third_party/libopenjpeg20/0020-opj_aligned_malloc.patch
|
|
This will remove some conversion warnings
|
|
Fix warnings introduced by uclouvain/openjpeg#786
|
|
|
|
smuehlst-bit-fields-type
|
|
T1 & DWT multithreading decoding optimizations
|
|
|
|
Add some overflow check operations.
|
|
Update uclouvain/openjpeg#820
|
|
Update uclouvain/openjpeg#826
Also correct names for data of issue uclouvain/openjpeg#823
|
|
|
|
|
|
tier1_optimizations_multithreading_2
Conflicts:
src/lib/openjp2/t1.c
|
|
|
|
Need to cast to size_t before multiplication otherwise overflow check is useless.
|
|
Coordinates are casted from OPJ_UINT32 to OPJ_INT32
Add sanity check for negative values and upper bound becoming lower
than lower bound.
See also
https://pdfium.googlesource.com/pdfium/+/b6befb2ed2485a3805cddea86dc7574510178ea9
|
|
OPJ_BITFIELD is used only in internal headers and must not
appear in the public openjpeg.h header.
|
|
|
|
update uclouvain/openjpeg#818
|
|
|
|
|
|
Prevent an integer overflow issue in function opj_pi_create_decode of
pi.c.
|
|
|
|
In case multiple ihdr box are present, only the first one shall be
taken into account.
|
|
|
|
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug in vc14)
Closes #661
|