2011.05.30 06:54 "[Tiff] tiff-4.0.0beta7: fix/mark a few minor bugs", by Jim Meyering

2011.05.30 06:54 "[Tiff] tiff-4.0.0beta7: fix/mark a few minor bugs", by Jim Meyering

A month or so ago I audited (yes, manually) the uses of malloc-like functions in libtiff and spotted a few problems. Here are the patches I wrote:

[PATCH 1/5] do not dereference NULL upon failed malloc [PATCH 2/5] avoid set-but-not-used warning from gcc

[PATCH 3/5] tiff2pdf.c: remove decl+set of set-but-not-used local, [PATCH 4/5] mark NULL-deref and possible overflow

[PATCH 5/5] * rgb2ycbcr.c (cvtRaster): unchecked malloc