Package: libgd3
Version: 2.1.0~alpha1-2
Severity: minor
Tags: upstream

src/gd_tiff.c in readTiffBw.  src_x is declared but its first use is
"++src_x".

"""
        int src_x, src_y;
        [...]
                        ++src_x;
"""

To be honest, I have no clue why src_x is even present in that
function, since it does not appear to have any use whatsoever other
than incrementing a random int.

There is a second case in gdtestft, where imb is not initialized if
HAVE_LIBJPEG is not defined.  Presumably this one is also a non-issue.

(Related note, the resource "FILE *in" is also leaked in gdtestft AFAICT.)

As the issues I found appear to be "non-issues" or "test-only" issues,
I have filed this as minor.

~Niels


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to