File tree 10 files changed +19
-11
lines changed
10 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 2222 <ProjectGuid >{62812507-F926-4968-96A9-17678460AD90}</ProjectGuid >
2323 <RootNamespace >jpegicc</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25+ <WindowsTargetPlatformVersion >10.0.17134.0</WindowsTargetPlatformVersion >
2526 </PropertyGroup >
2627 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2728 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{8C51BE48-ADB8-4089-A9EC-F6BF993A0548}</ProjectGuid >
2323 <RootNamespace >lcms2_DLL</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{71DEDE59-3F1E-486B-A899-4283000F76B5}</ProjectGuid >
2323 <RootNamespace >lcms2_static</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{FBFBE1DC-DB84-4BA1-9552-B4780F457849}</ProjectGuid >
2323 <RootNamespace >linkicc</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{EF6A8851-65FE-46F5-B9EF-14F0B671F693}</ProjectGuid >
2323 <RootNamespace >psicc</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{928A3A2B-46EF-4279-959C-513B3652FF0E}</ProjectGuid >
2323 <RootNamespace >testbed</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{75B91835-CCD7-48BE-A606-A9C997D5DBEE}</ProjectGuid >
2323 <RootNamespace >tiffdiff</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{2256DE16-ED92-4A6F-9C54-F65BB61E64A2}</ProjectGuid >
2323 <RootNamespace >tifficc</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25- <WindowsTargetPlatformVersion >8.1 </WindowsTargetPlatformVersion >
25+ <WindowsTargetPlatformVersion >10.0.17134.0 </WindowsTargetPlatformVersion >
2626 </PropertyGroup >
2727 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 2222 <ProjectGuid >{9EE22D66-C849-474C-9ED5-C3E141DAB160}</ProjectGuid >
2323 <RootNamespace >transicc</RootNamespace >
2424 <Keyword >Win32Proj</Keyword >
25+ <WindowsTargetPlatformVersion >10.0.17134.0</WindowsTargetPlatformVersion >
2526 </PropertyGroup >
2627 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2728 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
Original file line number Diff line number Diff line change 11//---------------------------------------------------------------------------------
22//
33// Little Color Management System
4- // Copyright (c) 1998-2017 Marti Maria Saguer
4+ // Copyright (c) 1998-2018 Marti Maria Saguer
55//
66// Permission is hereby granted, free of charge, to any person obtaining
77// a copy of this software and associated documentation files (the "Software"),
@@ -1506,10 +1506,16 @@ void AllocateDataSet(cmsIT8* it8)
15061506 t -> nSamples = atoi (cmsIT8GetProperty (it8 , "NUMBER_OF_FIELDS" ));
15071507 t -> nPatches = atoi (cmsIT8GetProperty (it8 , "NUMBER_OF_SETS" ));
15081508
1509- t -> Data = (char * * )AllocChunk (it8 , ((cmsUInt32Number ) t -> nSamples + 1 ) * ((cmsUInt32Number ) t -> nPatches + 1 ) * sizeof (char * ));
1510- if (t -> Data == NULL ) {
1509+ if (t -> nSamples < 0 || t -> nSamples > 0x7ffe || t -> nPatches < 0 || t -> nPatches > 0x7ffe )
1510+ {
1511+ SynError (it8 , "AllocateDataSet: too much data" );
1512+ }
1513+ else {
1514+ t -> Data = (char * * )AllocChunk (it8 , ((cmsUInt32Number )t -> nSamples + 1 ) * ((cmsUInt32Number )t -> nPatches + 1 ) * sizeof (char * ));
1515+ if (t -> Data == NULL ) {
15111516
1512- SynError (it8 , "AllocateDataSet: Unable to allocate data array" );
1517+ SynError (it8 , "AllocateDataSet: Unable to allocate data array" );
1518+ }
15131519 }
15141520
15151521}
You can’t perform that action at this time.
0 commit comments