| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixed bound check
|
|
|
|
|
| |
- Fix datarace condition on cmsGetContext() Thanks to Jan Wassenberg for finding this elussive bug
- Ged rid of commented out code
|
|
|
|
| |
To prevent segfaults
|
|
|
|
|
|
| |
in 2.10 cmsFLAGS_NOOPTIMIZE changed slightly the previous behaviour as prevented any kind of optimization.
That was enough to crash some complex workflows of cerain apps,, so here is a rollback.
|
|
|
|
| |
Matrix should always be 3x3
|
|
|
|
|
| |
More fixes from Artifex
Thank you!
|
|
|
|
|
|
| |
It makes small difference, but here you go!
In my computer, matrix shaper runs times x 2.4 faster the core lcms2
without SSE is about times x 2
|
|
|
|
| |
Many thanks for sharing!
|
|
|
|
|
| |
- Get rid of a bunch of code from uncertain origin (it was doing nonsense anyway)
- Format the function layout
|
| |
|
|
|
|
| |
The cmsFLAGS_NOOPTIMIZE was ignored when a plug-in was used
|
|
|
|
|
|
|
|
| |
Without this fix, FormatterPos() is incapable of handling swapped-endian requests (note that no case returns `2`, the index into the swapped-endian row!)
Fix is simple: when 2-bytes are requested, but half-float is not, check endianness. If T_ENDIAN16, return 16SE; otherwise, return 16.
(Also a minor typo fix on a neighboring comment.)
|
|\
| |
| |
| | |
Add missing and remove duplicate exports.
Looks good, thank you.
|
| | |
|
| |
| |
| |
| | |
Many thanks to Philipp Knechtges for the improved PS code
|
|/
|
|
|
|
|
|
| |
As reported some time ago [1], some PS interpreters have issues with the CSA code lcms2 emits
when gamma tables are encountered in the icc profile. This patch picks up the ideas from the
mentioned mailing list thread and implements them in lcms2.
[1] https://sourceforge.net/p/lcms/mailman/message/33182987/
|
|
|
|
| |
Hopefully it is now fixed
|
|
|
|
| |
Just to avoid link warnings
|
|
|
|
| |
The DEF file allows fine tune name decoration on 32-bit DLL builds.
|
|
|
|
| |
Fix plugins issue as well.
|
|
|
|
| |
and remove duplicated symbol
|
|
|
|
| |
This reverts commit 08fe5c96ed4089b21fa6e6b6248a54a5a4396cb4.
|
|
|
|
| |
Fixed a situation where MINGW fails
|
|
|
|
| |
Update configure script to 2.10
|
|
|
|
| |
Some minor changes to prepeare 2.10 release
|
|
|
|
| |
Fix wrong white fixup on V2 PCS when building input profiles. Thanks to Maurice Luttmer for finding the bug.
|
|\ |
|
| |
| |
| |
| | |
BuildColorantList() concatenates 32 bit data in each iteration. The max value of iteration can be 16.
Thus buffer overflow can occur with storage of 128 bytes. It would need 512 bytes in worst case.
|
|/
|
|
| |
From assorted sources, small fixes
|
|
|
|
| |
plane bytes, not pixels
|
|
|
|
| |
fixed a out-of-bounds error on certain conditions
|
|\ |
|
| |
| |
| |
| | |
C++17 seems to require to travel back in time and modify C99 spec
|
|/
|
|
| |
let people to use MD5 internals. This is added in the plug-ins API
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the call to CurvesAlloc() fails in OptimizeByJoiningCurves()
the cleanup code will try to free the ObtainedCurves twice. This
is because ObtainedCurves has also been inserted into the
pipeline by the call to cmsPipelineInsertStage().
This commit NULLs the ObtainedCurves variable immediately after
the insertion into the pipeline was succesful and also moves
later use of ObtainedCurves earlier to compensate for setting
ObtainedCurves to NULL. This avoids the double free.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Turns a warning into a fatal error.
I have tested the profile against a normal use and found despite this is
a real bug, it is harmless in the security context. The out of bounds
condition can only be reached by building a special program.
Yet-existing, normal code are unaffected as it never needs to do this
particular sequence. I agree it is better to turn this warning into a
fatal error in order to keep safe.
NOT RELATED WITH SECURITY. IT CANNOT BE USED TO DO ANY EXPLOIT.
|
|
|
|
|
|
| |
- Upgrade to 15.8
- Add check on CGATS memory allocation (thanks to Quang Nguyen for
pointing out this)
|
|
|
|
| |
For out of mem confition
|
|
|
|
| |
big endian machines without int64 support
|
| |
|
|
|
| |
Found via `codespell -q 3`
|
|\ |
|
| |\
| | |
| | | |
Reindent some lines, fixing gcc indentation warnings. Looks great, thank you
|
| | |
| | |
| | |
| | |
| | | |
LittleCMS now compiles without warnings using:
CFLAGS=-Wall ./configure && make
|
| | |
| | |
| | |
| | | |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
| |\ \
| | | |
| | | | |
Replace non-ASCII characters. Looks great, thank you!
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|/ / /
| | |
| | |
| | | |
fixes #159
|