Coverity UNINIT - CID 12555 - plugins/resize/src/logic/src/resize-logic.cpp - in function: ResizeLogic::handleMotionEvent(int, int) - Declaring variable "box" without initializer.

Bug #1101570 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Invalid
High
Unassigned
0.9.9
Won't Fix
High
Unassigned

Bug Description

This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 12555
Checker: UNINIT
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/resize/src/logic/src/resize-logic.cpp
Function: ResizeLogic::handleMotionEvent(int, int)
Code snippet:
458
459 if (w->constrainNewWindowSize (wi, he, &cwi, &che) &&
460 mode != ResizeOptions::ModeNormal)
461 {
CID 12555 - UNINIT
Declaring variable "box" without initializer.
462 Box box;
463
464 /* Also, damage relevant paint rectangles */
465 if (mode == ResizeOptions::ModeRectangle ||
466 mode == ResizeOptions::ModeOutline)
467 getPaintRectangle (&box);

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-0.9.9: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/resize/src/logic/src/resize-logic.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → High
MC Return (mc-return)
summary: - Coverity UNINIT - CID 12555
+ Coverity UNINIT - CID 12555 - plugins/resize/src/logic/src/resize-
+ logic.cpp - in function: ResizeLogic::handleMotionEvent(int, int) -
+ Declaring variable "box" without initializer.
Changed in compiz:
milestone: none → 0.9.10.0
status: New → Triaged
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Revision history for this message
Stephen M. Webb (bregma) wrote :

False positive.

Changed in compiz:
milestone: 0.9.11.0 → none
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.