It's always good to initialize integer variables, at least to 0, because if we try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior, e.g. line number 2937 of lepton/src/lepton/jpgcoder.cc.
:bug: label: security
Greetings,
It's always good to initialize integer variables, at least to 0, because if we try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior, e.g. line number 2937 of lepton/src/lepton/jpgcoder.cc.
REF: http://cwe.mitre.org/data/definitions/457.html
Signed-off-by: Bryon Gloden, CISSP® cissp@bryongloden.com