#1120817 tiffset segfaults on trying to set the value of tag 320

Package:
libtiff-tools
Source:
libtiff-tools
Description:
TIFF manipulation and conversion tools
Submitter:
Al Ma
Date:
2025-11-16 20:33:02 UTC
Severity:
normal
#1120817#5
Date:
2025-11-16 20:30:22 UTC
From:
To:
Change the working directory to /tmp.

Now create a TIFF file, e.g.,

or

Try the following command line:
zsh: segmentation fault  tiffset -s 320 9 0 32768 65535 0 32768 65535 0 32768 65535 example.tiff

I'd expect that instead of segfaulting, tiffset tells the user what's wrong with the options on the command line, if anything at all, or what goes wrong otherwise.