With netpbm-10.28-1, the attached pbm file, which is the smallest test case I
could find of this problem, causes "pbmtolj < bad.pbm > /dev/null" to coredump.
This file does not cause pbmtolj to coredump in netpbm-10.27-4.
Created attachment 115450 [details]
pbm file which croaks pbmtolj
This was caused by definition of NDEBUG, so assertions within the pbmtolj.c were
ignored what causes the segfault.