Coverity PASS_BY_VALUE - CID 12473 - src/window.cpp - in function: CompWindow::resize(XWindowAttributes) - Passing parameter attr of type XWindowAttributes (size 136 bytes) by value.

Bug #1101487 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Medium
Unassigned
0.9.9
New
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: 12473
Checker: PASS_BY_VALUE
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/src/window.cpp
Function: CompWindow::resize(XWindowAttributes)
Code snippet:
1508 return true;
1509 }
1510
1511 bool
CID 12473 - PASS_BY_VALUE
Passing parameter attr of type XWindowAttributes (size 136 bytes) by value.
1512 CompWindow::resize (XWindowAttributes attr)
1513 {
1514 return resize (Geometry (attr.x, attr.y, attr.width, attr.height,
1515 attr.border_width));
1516 }
1517

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

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity PASS_BY_VALUE - CID 12473
+ Coverity PASS_BY_VALUE - CID 12473 - src/window.cpp - in function:
+ CompWindow::resize(XWindowAttributes) - Passing parameter attr of type
+ XWindowAttributes (size 136 bytes) by value.
Changed in compiz:
milestone: none → 0.9.10.0
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
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.