Quoting Richard Hughes <hughsi...@gmail.com>:

> On 25 June 2013 15:42,  <marti.ma...@littlecms.com> wrote:
>> So my question is why not to check "Name" before calling cmsDictAddEntry.
>
> Yes, that's also a way to solve it, just two level deeper in indentation. :)
>
> [...]
>
> Well, I think it's a good idea to not assert() if a profile is invalid
> or corrupt. A "crashing" program isn't super-easy to debug, but one
> that issues a warning message is.
>

Oh, I think now I understand, ... you are not calling cmsDictAddEntry but
just reading the tag. Ok, I will put a check in the read tag logic, sorry
about the misunderstanding. Thnaks for pointing out the bug.


Regards
Marti







------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to