Open Bug 1026676 Opened 10 years ago Updated 2 years ago

Possible use of uninitialized variable |position| in nsCSSRendering::PaintGradient

Categories

(Core :: CSS Parsing and Computation, defect, P5)

defect

Tracking

()

People

(Reporter: erahm, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: [CID 1221245])

In nsCSSRendering::PaintGradient [1], |position| will not be initialized if the default case is hit in the switch statement on a non-debug build.

[1] http://dxr.mozilla.org/mozilla-central/source/layout/base/nsCSSRendering.cpp?from=nsCSSRendering.cpp&case=true#2294,2329,2336,2338
Severity: normal → minor
Priority: -- → P5

Hello,
This code does not seem to exist anymore.
Should this bug be closed?
Thanks,

Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.