Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-12Merge branch 'master' of https://github.com/mm2/Little-CMSHEADmasterMarti Maria
2022-11-12fix memory corruption when unregistering pluginsMarti Maria
unregistering plugins twice may corrupt memory. This commit fixes that.
2022-11-03Merge pull request #342 from thesamesam/refresh-ax-macrosMarti Maria
m4: sync autoconf-archive (ax_*) macros with upstream Looks great, thank you!
2022-11-03m4: sync autoconf-archive (ax_*) macros with upstreamSam James
- Update the various ax_* macros (which originate from autoconf-archive) - Switch from acx_pthread.m4 -> ax_pthread.m4 Fixes: https://github.com/mm2/Little-CMS/issues/339 Signed-off-by: Sam James <sam@gentoo.org>
2022-11-01version 2.14lcms2.14Marti Maria
adjust comment for release
2022-11-01Merge branch 'master' of https://github.com/mm2/Little-CMSMarti Maria
2022-11-01free some spaceMarti Maria
free some space by sharing test profiles
2022-10-21wrong file included by mistake in testbed projectMarti Maria
Fix project for visual studio
2022-10-21Remove remains of development that should not be thereMarti Maria
lcms2 core testbed has nothing to do with plug-ins
2022-10-20Fix Krita segfaultMarti Maria
_cmsQuickFloor() fails when numbers are too close, on fourth decimals, floor of 47.9993 was taken as 48 instead of 47 and this was enough to generate a negative rest and create a segfault. Math is sometimes complex.
2022-10-15Update configurelcms2.14rc1Marti Maria
update generated script
2022-10-15Delete fuzzer.cMarti Maria
remove bogus file
2022-10-15changed changelogMarti Maria
recursively
2022-10-15lcms2-2.14rcMarti Maria
Release candidate 1
2022-09-20Merge branch 'master' of https://github.com/mm2/Little-CMSMarti Maria
2022-09-20Added a faster 32-bit float to 32-bit float RGB to Lab conversionMarti Maria
Another special case
2022-09-12Merge pull request #338 from thesamesam/implicit-func-declsMarti Maria
configure.ac: fix configure tests broken with Clang 15 (-Wimplicit-int)
2022-09-12configure.ac: fix configure tests broken with Clang 15 (-Wimplicit-int)Sam James
Clang 15 makes -Wimplicit-int an error by default. Before this fix, configure would think SSE2 support is not present when it is: ``` checking whether compiler supports SSE2... no ``` Signed-off-by: Sam James <sam@gentoo.org>
2022-09-07sanitize cgats parserMarti Maria
I don't know why people keeps fuzzing this code, but they do, and then they make a lot of noise. So let's make it less permissive and abort early when some wrong characters are found. I apologize if someone got hurt in the process. Otherwise this is harmless because is not used on ICC profile handling.
2022-09-01Add more protection against attacksMarti Maria
More code to filter bad API use
2022-09-01Add checks for unsupported colorspaceMarti Maria
Those profiles are just broken.
2022-09-01Add a check for alpha 0 on premultiplied alphaMarti Maria
Was missing in the generic cases
2022-09-01Allow transform templates to be executed directly (it does nothing, though)Marti Maria
You may create transforms with formatters 0, that means the format is to be specified latter on. So, you were not supposed to call this template with cmsDoTransform before setting the format, but fuzzer did. So I am putting code to prevent this... without including a condition that would ruin all cache and instruction branch guessing.
2022-09-01An old function was returning a wrong valueMarti Maria
It makes no sense that cmsChannelsOf() returns 3 when colorspace is bugus. Added a new function that returns -1 instead. Will document that in 2.15. It is in the API now, but not in docs.
2022-08-31Update version number on meson buildMarti Maria
Update number
2022-08-29Fix broken definitionMarti Maria
Moving a function definition to proper place (My C skills are decreasing every day)
2022-08-29A better checker for ascii to int conversionMarti Maria
People keeps trying to break tools helper code, so let's put guards.
2022-08-27Add documentation for release 2.14Marti Maria
Add API manual for 2.14
2022-08-27Fixed a memory leak in case of crafted profileMarti Maria
Free resources accordly when detecting a wrong/crafted profile
2022-08-27Fix a double free in case of errorMarti Maria
cmsReadTag already tracks its pointers so no need to free it Also fixed a cosmetic warning (no functionality changes)
2022-08-26Add some validationsMarti Maria
Makes no sense to accept profiles with absurd version numbers. That would keep fuzzers busy for a while.
2022-08-25Remove check on DLL when CMS_NO_REGISTER_KEYWORD is usedMarti Maria
That was originally intended to prevent building DLLs with different ABI, but since you can actually build .so on linux with this flaw, makes no sense to check only one platform. I would rather left the decision to developers. You are free to create a .so or DLL with incompatible parameter passing if you use CMS_NO_REGISTER_KEYWORD , it is up to you to check consistency.
2022-08-22fix a typoMarti Maria
poof-poof
2022-08-22Add validation against broken profilesMarti Maria
Crafted profiles with bogus data may be sometimes read but then not written. lcms is tolerant when reading, strict when writing. Fixed a situation that may end in memory corruption.
2022-08-22missing\n on helpMarti Maria
A minor typo
2022-08-22Add more help to tifficcMarti Maria
Per #332 suggestion....
2022-08-22Fix for #333Marti Maria
a crafted CGAT may induce a crash. Add more validation Fixes #333
2022-08-21Disable plugin for negative handlingMarti Maria
Plugin should not get those special modes
2022-08-15prevent a division by zeroMarti Maria
on a ill-formed parametric curve
2022-08-12Fix error on writing profiles when tables have different node countMarti Maria
Each table may have a different node count number, although is is not very frequent
2022-08-11make check saferMarti Maria
Move check outside conditional block
2022-08-11add check for divide by zeroMarti Maria
Check for corrupted profiles
2022-08-11Add check guards to CGATS parserMarti Maria
Add checks for out of memory on CGATS parsing. Mainly to prevent exploits
2022-08-08Fix icctransMarti Maria
Last fixup broke icctrans
2022-07-26Add a safeguard on gamma estimationMarti Maria
To prevent a division by zero on broken profiles
2022-07-26Fix a check boundMarti Maria
A division by zero was possible in the other way
2022-07-26Check for duplicated tagsMarti Maria
If so, discard profile
2022-07-25sanitize linked tagsMarti Maria
Prevent a rare way to currupt profiles that could potentially cause vulnerability issues
2022-07-24Get rid of an undocumented featureMarti Maria
Which was abused by Fuzzer. since it was not documented now it is gone.
2022-07-24Fix CMYK range on fast float pluginMarti Maria
Range should be in %