Log message:
graphics/netpbm: Update to 11.02.09
Changelog:
24.04.11 BJH Release 11.02.09
libnetpbm: Fix double free crash when memory allocation via
REALLOCARRAY fails. Introduced in Netpbm 10.40 (September
2007).
24.03.11 BJH Release 11.02.08
infotopam: fix incorrect output -- columns always in wrong
place. Always broken. (infotopam was new in Netpbm 10.22 (May
2004)).
23.12.26 BJH Release 11.02.07
pnmpad: fix behavior with -left, -right, and -width together or
-top, -bottom, -height together: ignores -width where it should
fail. Broken in Netpbm 10.72 (September 2015).
23.12.05 BJH Release 11.02.06
pnmconvol: Restore ability of convolution matrix to be a
pseudo-plain-PNM with samples that exceed the maxval. Lost in
10.30 (October 2005) because maxval-checking code was added to
libnetpbm. (Was fixed in 10.47.08 in November 2010, but only in
the 10.47 series).
23.11.24 BJH Release 11.02.05
pnmpad: fix wrong results with old-style options (e.g. \
"-t50").
23.09.24 BJH Release 11.02.04
pamtosvg: fix hang.
pbmtoxbm: Fix spurious output with really wide rows.
23.09.02 BJH Release 11.02.03
pamaddnoise: fix very incorrect noise added for all types.
Introduced in Netpbm 10.94 (March 2021).
pgmtexture: Fix buffer overflow with maxval > 255. Always
broken. Maxvals > 255 were possible starting in Netpbm 9.0
(April 2000).
ppmrough: fix buffer overrun. Always broken (Ppmrough was new
in Netpbm 10.9 (September 2002).
ppmrough: fix excessive roughness. Introduced in Netpbm 10.94
(March 2021).
23.08.18 BJH Release 11.02.02
ppmfade: fix "file not found" crash for most fade modes.
Introduced in Netpbm 10.98 (March 2022).
ppmfade: fix incorrect block mode fade. Always broken
(ppmfade was new in Netpbm 8.4 (April 2000)).
23.08.05 BJH Release 11.02.01
pamstack: Fail gracefully when total number of planes is too
large for unsigned integer. Always broken (Pamstack was new in
Netpbm 10.0 (June 2002).
23.03.25 BJH Release 11.02.00
jpegtopnm: Add -traceexif
pbmtextps: Add -asciihex, -ascii85.
pcdovtoppm: remove dependency on obsolete 'tempfile' program.
jpegtopnm: Many fixes to -dumpexif. Always broken.
(-dumpexif was new in Netpbm 9.18 (September 2001))
pamtopng: fix -chroma option: always rejected. Always broken.
(pamtopng was new in Netpbm 10.70 (June 2015)).
pnmtopng: fix -rgb option: always rejected. Always broken
(-rgb was new in Netpbm 10.30 (October 2005)).
build: change the way you add the separately distributed
'hpcdtoppm' code to the build.
22.12.31 BJH Release 11.01.00
pamcat: Add -listfile .
pamtojpeg2k: add -size option. Doesn't precisely work (and
-compression has never worked precisely either); should be
fixed some day.
ppmtompeg: Fix crash with resize option because of invalid
memory free.
fitstopnm: fix invalid memory reference (nonterminated ASCIIZ
string).
packaging: Fix library minor number to 100 + Netpbm minor number
so it is higher than previous ones in library major 100.
I.e. libnetpbm.so.100.101 instead of libnetpbm.so.100.1.
Introduced in Netpbm 11.00.00.
22.09.28 BJH Release 11.00.00
(No significance to new major number; just ran out of 2-digit
minor numbers).
Add pamcat.
pamtable: add -tuple.
pamtable: add -hex.
pbmtextps: improve error messages.
pnmtofits: fix arbitrary behavior when FITS input lacks
required fields in header. Always broken. Pnmtofits'
predecessor was in primordial Netpbm (1989).
ppmtoicr: Fix bug: all options cause bogus command line parsing
errors. Always broken. Ppmtoicr was new in 1991.
ppmtoicr: Fix arithmetic overflows.
ppmtoicr: make -rle option issue an error message saying it no
longer exists (it did, sort of, before 2015).
ppmforge: Fix arbitrary output with really large -power.
pnmindex: fix shell injection vulnerabilities. Broken since
Netpbm 10.28 (June 2005).
pnmmargin: fix shell injection vulnerability. Always broken
(Program was added in primordial Netpbm in 1990).
build: Create backward compatibility symbolic link for
pnminterp-gen, missing for over 20 years.
22.06.24 BJH Release 10.99.00
Add pamrestack.
Add pamshuffle.
Add pamtoqoi, qoitopam.
palmtopnm: Fix failure with bogus claim of invalid input on
architectures that do not use two's complement negative numbers.
Always broken. (Ability to convert PackBits input was new in
Netpbm 10.27 (March 2005).
pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output.
Always broken (These options were new in Netpbm 10.32 (February
2006)). Thanks Alexander Shpilkin <ashpilkin@gmail.com>.
pamdice: Fix incorrect output file name with PAM input. Always
broken (pamdice was new in Netpbm 9.25 (March 2002).
libnetpbm: Stop bogus runtime error check failure in pmfileio.c
shifts.
22.03.27 BJH Release 10.98.00
pamtopdbimg: Add -fixedtime.
ppmfade: Use temporary files securely.
pnmtosir: Set some possibly meaningless bits in output to zero
so output is repeatable.
pamx: Fix bug: top-justifies image in all cases where it should
bottom-justify. Always broken. (pamx was new in Netpbm 10.34
(June 2006).
pnmtorle: Fix bug: -h works only on first image.
pamsistoaglyph: Fix invalid memory reference and incorrect
output on depth 1 input. Always broken. (pamsistoaglyph was
new in Netpbm 10.47 (June 2009). Thanks Scott Pakin.
pambayer: Fix bogus colors at edges. Always Broken (pambayer
was new in Release 10.30 (October 2005)).
libnetpbm, various programs: fix bug: bogus warning that a color
specified on command line cannot be represented exactly with the
maxval being used. Introduced in Netpbm 10.83 (June 2018).
pnmtopsnr: Fix typo in error message. Always broken (pnmpsnr
was new in Netpbm 9.6 (July 2000).
ppmtoilbm: Remove -floyd (aka -fs) option, which hasn't worked
in a long time if ever and is inappropriate function for this
program. And the broken code is inconsistent with new random
number logic elsewhere in the package.
ppmtoapplevol: Fix bug: reads from Standard Input even when you
specify the input file argument. Always broken. (ppmtoapplevol
was new in Netpbm 10.54 (March 2011).
ppmtoapplevol: Fix bug: produces garbage with input image wider
than 255. Always broken. (ppmtoapplevol was new in Netpbm
10.54 (March 2011).
pgmmedian: fix crash when median matrix is wider or higher than
the input image.
picttoppm: Fix incorrect output for 32 bit per pixel images
that have only 3 planes. Broken in Netpbm 10.34 (June 2006).
pamendian: fix bogus "sample exceeds maxval" failure.
Introduced in Netpbm 10.66 (March 2014).
ppmtoilbm: Fix wild memory references and hangs with -map .
Introduced in Netpbm 9.12 (March 2001).
pgmtexture: Fix incorrect output. Always broken. (Program was
added in primordial Netpbm in 1991).
pgmabel: Fix incorrect output. Always broken. (Program was
new in Netpbm 10.3 (July 2002).
Remove Floyd-Steinberg dithering functions (ppm_fs_*) from
libnetpbm (libppmfloyd). No longer used. Floyd-Steinberg
dithering logic can be found in pnmremap. libppmfloyd
was previously used by ppmtoilbm.
21.12.27 BJH Release 10.97.00
Add pbmnoise.
pnmpad: Use -halign with -mwidth and default to centering the
image instead of left-justifying when no other padding is being
added. Same with -mheight, -valign, and top-justifying.
xwdtopnm: Add ability to process bit depth 32.
pgmtoppm: Add -black, -white.
ppmpat: Add -mesh.
pampaintspill: Add -near. Thanks Scott Pakin.
pamtogif: Fix bug: doesn't ignore the input alpha mask when user
specified -transparent. Broken in Netpbm 10.37 (December 2006).
palmtopnm: Fix bug: fails with PackBits input on platform with
default unsigned char, such as ppc64. Always broken. (Ability
to convert PackBits input was new in Netpbm 10.27 (March 2005).
pamrubber: Fix bug: random behavior with -quad when you specify
both points for source or target and the second one is lower in
the image than the first. Always broken (Pamrubber was new in
Netpbm 10.54 (March 2011)).
sunicontopnm, escp2topbm, mgrtopbm, ybmtopbm, pamcut, pbmpscale,
pnmcat, pnmpad: Fix arithmetic overrun with ridiculously large
image.
pbmclean: Fix overallocation of memory (waste).
libnetbm: Add pnm_writepamrowpart, pnm_formatPamtuples.
libnetpbm: When validating computable size of width and height,
allow for adding up to 10 instead of 2, to account for rounding
up to a multiple of 8 in processing bit maps.
Build: Don't attempt to build 'pamexec' on systems without
Unix process management. Bug introduced in Netpbm 10.94
(March 2021) and supposedly fixed in 10.95, but not really.
21.09.25 BJH Release 10.96.00
pgmtoppm: Eliminate dependency on color dictionary when user
does not specify any colors by name.
pamstereogram: Fix crash with -xbegin=0. Thanks Scott Pakin.
Introduced in Netpbm 10.94.
21.06.30 BJH Release 10.95.00
pamtopng: Fix rejection of all BLACKANDWHITE_ALPHA images with
message about wrong depth. Always broken (pamtopng was new in
Netpbm 10.71 (June 2015)). Thanks Karol Kosek
<krkk@krkk.ct8.pl>.
pamtopng: Fix failure with GRAYSCALE_ALPHA images with maxval
less than 255. Always broken (pamtopng was new in Netpbm 10.71
(June 2015)). Thanks Karol Kosek <krkk@krkk.ct8.pl>.
pamtopng: Fix: treats all tuple types that start with BLA as
BLACKANDWHITE. Always broken (pamtopng was new in Netpbm 10.71
(June 2015)).
pamtopng: Fix -transparent option - program recognized
-transparency instead. Always broken (pamtopng was new in
Netpbm 10.71 (June 2015)).
pamtogif: Fix failure with bogus message about wrong depth with
grayscale and black and white PAM images with transparency.
Always broken (pamtogif was new in Netpbm 10.37 (December 2006)).
Thanks Karol Kosek <krkk@krkk.ct8.pl>.
ppmtogif: Same as 'pamtogif' fix above, but with -alpha option.
Build: Fix build failure due to missing 'random' function on
Mingw platform. Bug introduced in Netpbm 10.94 (March 2021).
Build: Don't attempt to build 'pamexec' on systems without
Unix process management. Bug introduced in Netpbm 10.94
(March 2021).
Build: Make it work on systems that don't have date +%s. Broken
in Netpbm 10.78 (March 2017). Thanks Claes Nästén
(pekdon@gmail.com).
Build: Fix for MacOS build failures with missing sprintf and
vasprintf in broken build environment.
Mkdeb: fix failure with message about unrecognized format of
VERSION file. Introduced in Netpbm 10.90 (March 2020).
21.03.27 BJH Release 10.94.00
Add pamhomography: Thanks Scott Pakin.
pamstereogram: Add -yfillshift .
pamtowinicon: Add BMP/PNG encoding to verbose output.
Use internal random number generator everywhere random numbers
are used except ppmtoilbm, so seeded results are the same on
all platforms.
pamexec: Issue message instead of being killed by a signal when
the exec'ed program does not read the whole image"
ppmforge: Fail if -dimension is greater than 5, which is
useless.
pamscale: Fix bogus "bad magic number" or similar \
failure most
of the time with -nomix. Broken since Netpbm 10.49 (December
2009).
pnmtopng: Fix incorrect transparency in output when requesting
transparency. Introduced after Netpbm 10.35 (August 2006) but
not after Netpbm 10.47 (June 2009).
pnmtopng: Fix buffer overrun or bogus "too many color/
transparency pairs" failure when requesting transparency.
Introduced after Netpbm 10.26 (January 2005) but not after
Netpbm 10.35 (August 2006).
pamtojpeg2k: Fix constant failure with message about file
close failing.
libnetpbm: pm_system: Fix bug: standard input feeder process
repositions unrelated files. Always broken (pm_system was new
in Netpbm 10.13 (September 2003).
Pamtowinicon: Fix crash or incorrect output with PNG encoding
(result of pm_system bug above). Always broken (Pamtowinicon
was new in Netpbm 10.63 (June 2013).
pnmtopng: Fix trivial memory leaks.
pnmtops: Fix incorrect output (arithmetic overflow) when
bounding box is exactly INT_MAX high or wide. Always broken.
Pnmtops was in primordial Netpbm.
make package: fix no such file pcdovtoppm.exe failure on
Windows.
20.12.28 BJH Release 10.93.00
pamarith: Add -equal.
pamarith: Allow more than two operands for functions for which
it makes sense (all but -subtract, -difference, -compare,
-divide, -shiftleft, and -shiftright).
pamarith: fail if operand images have different depth and not
depth 1.
ppmshift: Add -seed .
pamaddnoise: Fix incorrect output for -type poisson. Always
broken. (pamaddnoise's precursor pnmaddnoies was new to Netpbm
in Netpbm 10.29 (August 2005)).
pamaddnoise: fix bug: garbage output with -type impulse. Always
broken (pamaddnoise's precursor pnmaddnoise was new to Netpbm
in Netpbm 10.29 (August 2005)).
20.09.26 BJH Release 10.92.00
pnmcrop: Make -margin effective with -blank-image=minimize.
pnmnorm: With bounds specified as -bpercent or -bsingle and
-wpercent or -wsingle, and the image has only one brightness,
don't attempt any normalization - leave image as is. (Previous
version produces all black with -keephues).
pgmtopbm: Add -randomseed.
pamfunc: Fix always wrong output with -not. Always broken.
(-not was new in Netpbm 10.40 (September 2007)).
pamdepth: fix bug: doesn't work on PAM with black and white
tuple type.
pnmnorm: Fix bug: output too dark when -bpercent and -wpercent
indicate overlapping values. Broken since Netpbm 10.43 (June
2008).
pbmtext: Fix double-free crash with -font . Introduced in
Netpbm 10.91 (June 2020).
jpeg2ktopam: Fix crash whenever the program fails. Broken in
Netpbm 10.42 (March 2008).
pamtojpeg2k: Fix failure with most -progression values. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pamtojpeg2k: Fix wrong result with -tilegrdtly. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pamarith: Fix crash with -compare where inputs are PBM or
BLACKANDWHITE PAM. Broken in Netpbm 10.14 (February 2003).
pamfunc: Fix crash with -changemaxval and PBM or BLACKANDWHITE
PAM input. Always broken. -changemaxval was new in Netpbm
10.65 (December 2013).
pammixmulti: Fix bug: -randomseed ignored on some systems.
Always broken. (pammixmulti was new in Netpbm 10.85 (December
2018).
pcdovtoppm: Fix some garbage from the conversion from csh to sh
in Netpbm 9.12 (March 2001) in conversion from csh arrays that
should have stopped it from working at all, despite reports from
users that they were using it.
ximtoppm: Fix bug: invalid memory references with pathological
image input. Broken in Netpbm 10.91 (June 2020).
Configure: remove obsolete question about URL to put in pointer
man pages of yesteryear.
Build: fix bug: PKG_CONFIG make variable not used for merge
build. Always broken (PKG_CONFIG was new in Netpbm 10.76
(September 2016).
20.06.28 BJH Release 10.91.00
pamstretch-gen: Add -quiet (supposedly added in 10.86, but never
worked).
pamstereogram: Add -tileable. Thanks Scott Pakin.
pcdovtoppm: Implement -version, -plain, and -quiet.
pcdovtoppm: more secure temporary file handling.
pcdovtoppm: Improve the way it fails when 'hpcdtoppm' fails.
anytopnm, pnmmargin: Fail properly when unable to create
temporary file. Broken in Netpbm 10.75 (June 2016).
winicontoppm: Fix undefined behavior for various invalid input.
Always broken. Winicontoppm was new in Netpbm 9.3 (June 2000).
winicontoppm: Fix incorrect output with 256 pixel wide or high
image. Always broken. Winicontoppm was new in Netpbm 9.3 (June
2000).
pjtoppm: Handle input stream with no transmission mode command.
Always broken. Pjtoppm was in primordial Netpbm (1991).
cameratopam: Handle I/O error on input file. Always broken.
Cameratopam was new to Netpbm in Netpbm 10.25 (June 2005).
xbmtopbm: Recognize "unsigned short" as an extension of
XBM X10 format.
pjtoppm: Fix handling of input with width unspecified or not
positive. Always broken. (Pjtoppm was in primordial Netpbm, ca
1991).
winicontopam: Fix crash with PNG icon. Always broken.
Winicontopam was new in Netpbm 10.63 (June 2013).
picttoppm: Fix bug with an input file that specifies a clip
region (ClipRgn opcode) that is not contained within the
picture frame. Result is invalid memory access. Broken
some time 1994-2002.
picttoppm: Fix incorrect output (sheared) when a blit must be
scaled. Broken in Netpbm 10.34 (June 2006) or 10.35 (August
2006).
pbmtonokia: Fix incorrect output with -txt option.
pbmtonokia: Fix incorrect output with newer compiler.
pnmtorle: Fix incorrect command and filename in header.
Broken in Netpbm 10.88 (September 2019).
cameratopam: Fix buffer overrun. Always present. (cameratopam
was new in Netpbm 10.28 (June 2005)).
cameratopam: Fix undefined behavior using 'swab' to swap bytes
in place. Always present. (cameratopam was new in Netpbm 10.28
(June 2005)).
ppmtompeg: Fix buffer overruns with very long names in input
parameter files. Always broken. Ppmtompeg was new in
Netpbm 8.4 (April 2000).
ximtoppm: Fix possible program crash due to invalid memory
reference. Always broken. ximtoppm was in primordial Netpbm,
ca 1989.
pcdovtoppm: Fix bug: accepts anything starting with -s
as equivalent to -s.
pcdovtoppm: properly selects Bash as interpreter. Broken
in Netpbm 9.12 (March 2001) (when it was called pcdindex).
20.03.26 BJH Release 10.90.00
pamundice: Add -listfile.
pamditherbw: Remove restriction to 2^18 pixels width and height
for -hilbert .
pamundice: Add error and warning messages for insane file name
pattern.
pamcut: Improve error messages for legacy command line
arguments.
pbmtopgm: Fix incorrect output when convolution area is not
square. Always broken. pbmtopgm was in primordial Netpbm,
ca 1991.
pbmtopgm: Fix crash when convolution matrix too large for word
size. Always broken. pbmtopgm was in primordial Netpbm, ca
1991.
pnmshear: Fix arithmetic overflow with shear angle near +/- 90
degrees. Always broken; pnmshear was in primordial Netpbm,
ca. 1989.
pnmshear: Fix shearing direction for angles larger than 90
degrees. Always broken; pnmshear was in primordial Netpbm,
ca. 1989.
pamditherbw: Fix bug: issue error message instead of just
ignoring one of the options when you specify -hilbert and
another halftone option.
pamdice: Fix junk output when -width or -height not specified.
pamdice: Fix crash when -width or -height is zero.
pamdice: Fix incorrect file names when -outstem contains \
"%s",
etc.
pgmnoise: Correct error messages for invalid height, width
arguments.
pnmquantall: remove accidentally published debugging trace.
libnetpbm: pm_getline, xvminitoppm, pamtris : Fix bug: crash
when reading empty line.
libnetpbm: pm_read_unknown_size, rawtopgm, zeisstopnm: crash
when out of memory
Build: make deb: don't include empty Recommends; newer dpkg-deb
won't accept it.
Install: Use e.g. "10.90.00" for version in pkg-config and
config file, instead of e.g. "Netpbm 10.90.00".
19.12.29 BJH Release 10.89.00
pnmpad: Add -reportonly.
anytopnm: Fix unpredictable behavior when file name contains
spaces.
pamfind: Fix typo in message.
pnmquant: Fail if user specifies both -spreadbrightness and
-spreadluminosity or both -randomseed and -norandom, rather
than just pick one.
pamrubber: Fix bug: -frame doesn't work. Always broken.
(Pamrubber was new in Netpbm 10.54 (March 2011)).
19.09.28 BJH Release 10.88.00
pnmquant: Fail if user specifies more than one of -meanpixel,
-meancolor, and -center, rather than just pick one.
pnmremap: Don't output any part of the image if program fails
because the maxval of input and map file do not match, in a
case where matching maxval is required, i.e. the user specified
-firstisdefault or -missingcolor.
ppmhist: sort secondarily by RGB with -sort=frequency, so
output is repeatable.
pnmcolormap: Add -splitpix, -splitcol, -splitdim.
Thanks Vladislav Zavjalov.
pbmtext: fix erroneous failure message with long input text.
jpeg2ktopam, pamtojpeg2k: fix negative array index. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam, pamtojpeg2k: fix assertion failure. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam: Fix memory leak after decoder failure. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
jpeg2ktopam: fix null pointer dereference. Always broken
(pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
pnmtorle, rletopnm: fix wild pointer dereference when memory
allocation fails. Always broken (programs were added to
Netpbm in Release 9.0 (April 2000).
pamsumm: Fix bug: with -mean and a conflicting option such as
-sum, the program ignores one of the options. It should fail.
Always broken (pamsumm was new in Netpbm 10.21 (March 2004).
Build: fix for Cygwin, "no rule to make pm_config.h".
19.06.28 BJH Release 10.87.00
pamfind: Add -machine .
Multiple: fix bug: when you specify the same option twice, you
can get a syntax error, with the message telling you you
specified some other option that conflicts with it. Should just
take the last setting.
pnmtopng: Fix bug: Defaults to no filters. Should be all
filters. Effect is larger PNG output. Broken after Netpbm
10.26 (January 2005) but no later than Netpbm 10.35 (August
2006).
pnmtopng: Fix bug: Doesn't allow multiple filter options.
Broken after Netpbm 10.26 (January 2005) but no later than
Netpbm 10.35 (August 2006).
pnmcrop: Don't allow -borderfile with -reportXXX. It doesn't
work.
pnmcrop: fix bug: -bgcolor doesn't work. Always present
(-bgcolor was introduced in Netpbm 10.86 (March 2019)).
pbmtext: fix bug: don't ignore -builtin when specified with
-font. Fail with syntax error instead.
pbmtozinc: fix wrong output on big-endian machines. Broken in
Netpbm 10.71 (June 2015).
pbmpage: Fix error message for invalid syntax.
pamtris: Fix bug: debug trace left in
|