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
diff options
context:
space:
mode:
authorMarti <marti.maria@tktbrainpower.com>2015-11-15 19:42:37 +0300
committerMarti <marti.maria@tktbrainpower.com>2015-11-15 19:42:37 +0300
commit32ee8341c25173afc9164709127f47f50c372100 (patch)
treeb486f2d502485286376952c4a47d374d4ce2d56e /utils/common
parente228b485db717d81e58407986a6fff216ff77c36 (diff)
Upgrade to modern autotools
Tested on a mac. Partial work to 2.8 release
Diffstat (limited to 'utils/common')
-rw-r--r--utils/common/vprf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/common/vprf.c b/utils/common/vprf.c
index bec26f6..ebac77e 100644
--- a/utils/common/vprf.c
+++ b/utils/common/vprf.c
@@ -203,6 +203,11 @@ void PrintColorantTable(cmsHPROFILE hInput, cmsTagSignature Sig, const char* Tit
void PrintProfileInformation(cmsHPROFILE hInput)
{
+ if (hInput == NULL) {
+ fprintf(stderr, "*Wrong or corrupted profile*\n");
+ return;
+ }
+
PrintInfo(hInput, cmsInfoDescription);
PrintInfo(hInput, cmsInfoManufacturer);
PrintInfo(hInput, cmsInfoModel);