Coverity REVERSE_INULL - CID 12504 - plugins/clone/src/clone.cpp - in function: CloneScreen::finish() - Directly dereferencing pointer "fClone".

Bug #1101520 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Won't Fix
Medium
Unassigned
0.9.10
Won't Fix
Medium
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: 12504
Checker: REVERSE_INULL
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/476.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/clone/src/clone.cpp
Function: CloneScreen::finish()
Code snippet:
 77
 78 x = (int) screen->outputDevs ()[dst].x1 ();
 79 y = (int) screen->outputDevs ()[dst].y1 ();
 80
CID 12504 - REVERSE_INULL
Directly dereferencing pointer "fClone".
 81 fClone->input =
 82 XCreateWindow (screen->dpy (),
 83 screen->root (), x, y,
 84 (int) screen->outputDevs ()[dst].width (),
 85 (int) screen->outputDevs ()[dst].height (),
 86 0, 0, InputOnly, CopyFromParent,

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/clone/src/clone.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → High
MC Return (mc-return)
summary: - Coverity REVERSE_INULL - CID 12504
+ Coverity REVERSE_INULL - CID 12504 - plugins/clone/src/clone.cpp - in
+ function: CloneScreen::finish() - Directly dereferencing pointer
+ "fClone".
Changed in compiz:
milestone: none → 0.9.10.0
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Stephen M. Webb (bregma)
no longer affects: compiz/0.9.9
Changed in compiz:
importance: High → Low
importance: Low → Medium
status: New → Triaged
Revision history for this message
Stephen M. Webb (bregma) wrote :

This is a false positive.

Changed in compiz:
milestone: 0.9.11.0 → none
status: Triaged → Won't Fix
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.