Closed Bug 336186 Opened 14 years ago Closed 14 years ago
Typed Selection::Get Root Scrollable View can return uninitialized value
This was found through a coverity scan of the firefox source. Please refer to the sample URL. |nsTypedSelection::GetRootScrollableView| in layout/generic/nsSelection.cpp can return an uninitialized value. The variable |rv| is declared at line 6168 without an initializer. If the test at line 6171 fails, then execution branches to line 6195, which eventually returns the uninitialize |rv|. It looks like this was introduced by the patch for bug 330305. Formerly, the call to |GetScrollableView| at line 6170 initialize |rv|.
Oops. Sorry about that...
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.