Coverity WRAPPER_ESCAPE - CID 12604 - plugins/annotate/src/annotate.cpp - Assigning: "tool" = "CompString(CompOption::getStringOptionNamed(options, CompString const("tool", std::allocator<char>()), CompString const("line", std::allocator<char>()))).c_str()", which extracts wrapped state from temporary "<temporary>", which is freed by its destructor.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
In Progress
|
High
|
Stephen M. Webb | ||
0.9.11 |
Triaged
|
High
|
Stephen M. Webb |
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:/
CID: 12604
Checker: WRAPPER_ESCAPE
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: AnnoScreen:
Code snippet:
307 const char *tool;
308 unsigned short *fillColor, *strokeColor;
309 double strokeWidth;
310
CID 12604 - WRAPPER_ESCAPE
Assigning: "tool" = "CompString(
The internal representation of "<temporary>" is freed by its destructor.
311 tool =
312 CompOption:
313
314 cairo_set_operator (cr, CAIRO_OPERATOR_
315 cairo_set_line_cap (cr, CAIRO_LINE_
316
summary: |
- Coverity WRAPPER_ESCAPE - CID 12604 + Coverity WRAPPER_ESCAPE - CID 12604 - plugins/annotate/src/annotate.cpp + - Assigning: "tool" = + "CompString(CompOption::getStringOptionNamed(options, CompString + const("tool", std::allocator<char>()), CompString const("line", + std::allocator<char>()))).c_str()", which extracts wrapped state from + temporary "<temporary>", which is freed by its destructor. |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
no longer affects: | compiz/0.9.9 |
Changed in compiz: | |
status: | New → Triaged |
no longer affects: | compiz/0.9.10 |
Changed in compiz: | |
milestone: | 0.9.11.0 → 0.9.12.1 |
Changed in compiz: | |
assignee: | nobody → Stephen M. Webb (bregma) |
status: | Triaged → In Progress |
Changed in compiz: | |
milestone: | 0.9.12.1 → 0.9.12.2 |
Source file with Coverity annotations.