Bug 2469 - Uninitialized variable: lpBits
: Uninitialized variable: lpBits
Status: RESOLVED LATER
: libtiff
default
: unspecified
: PC Linux
: P2 enhancement
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2014-04-01 19:09 by
Modified: 2019-10-01 14:20 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2014-04-01 19:09:51
I ran cppcheck on the tiff codebase and it reported an issue:

[contrib/win_dib/tiff2dib.c:112]: (error) Uninitialized variable: lpBits

I have manually confirmed that there is a path through the LoadTIFFinDIB()
function that can use lpBits without assigning a value first.

Thanks
------- Comment #1 From 2019-10-01 14:20:01 -------
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets,
such as this one, have been migrated to the libtiff GitLab instance at
https://gitlab.com/libtiff/libtiff/issues .

The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is
the initial Bugzilla issue number.