Bug 2202 - tiffset -sf 333 filename ignores field_passcount
: tiffset -sf 333 filename ignores field_passcount
Status: RESOLVED LATER
: libtiff
default
: 4.0.0
: PC Windows XP
: P2 normal
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2010-06-03 06:45 by
Modified: 2019-10-01 14:19 (History)


Attachments
Fix _TIFFFindFieldByName() (libtiff 4 bug only) (412 bytes, patch)
2010-06-12 08:23, Even Rouault
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-06-03 06:45:27
Setting InkNames tag (333) does not supply a required count (for InkNames tag)
to TIFFSetField. It should check for field_passcount and supply passcount when
needed.

See tiffset.c

Occurs on both version 4.0.0Beta5 and 3.9.2

If you use:
  tiffset -sf 333 inknames.txt  somefile.tif
it creates the required InkNames tag, with all length-0 entries. The contents
of inknames.txt is completely ignored
------- Comment #1 From 2010-06-12 08:23:28 -------
Created an attachment (id=390) [details]
Fix _TIFFFindFieldByName() (libtiff 4 bug only)
------- Comment #2 From 2010-06-12 08:34:42 -------
Sorry the "Fix _TIFFFindFieldByName() (libtiff 4 bug only) " is for bug #2201,
not this one
------- Comment #3 From 2019-10-01 14:19:33 -------
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets,
such as this one, have been migrated to the libtiff GitLab instance at
https://gitlab.com/libtiff/libtiff/issues .

The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is
the initial Bugzilla issue number.