lcms2: add upstream security fix for CVE-2018-16435
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 4 Sep 2018 21:43:47 +0000 (23:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 5 Sep 2018 21:01:21 +0000 (23:01 +0200)
commit9f81f578eb0af218752db0d69f7adf94584ada31
tree22e6b8b11ae4d138bfa20d2994027df586e81cfa
parentb63fb1de164e728983d5eb2ab3446e7ec4e90cf9
lcms2: add upstream security fix for CVE-2018-16435

Little CMS (aka Little Color Management System) 2.9 has an integer overflow
in the AllocateDataSet function in cmscgats.c, leading to a heap-based
buffer overflow in the SetData function via a crafted file in the second
argument to cmsIT8LoadFromFile.

For more details, see:
https://github.com/mm2/Little-CMS/issues/171
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16435

The upstream fix unfortunately includes a number of unrelated changes, but
thse files are not used when building for Linux.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lcms2/0001-Upgrade-Visual-studio-2017-15.8.patch [new file with mode: 0644]