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

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P5
minor
4 years ago
13 days ago

People

(Reporter: erahm, Unassigned)

Tracking

(Blocks: 1 bug, {coverity})

Trunk
coverity
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(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
You need to log in before you can comment on or make changes to this bug.