Coverity STACK_USE - CID 12534 - src/privatescreen/tests/test-privatescreen.cpp - in function: privatescreen_EventManagerTest_create_and_destroy_Test::TestBody() - Local variable "comp_screen" uses 14736 bytes of stack space, which exceeds the maximum single use of 10000 bytes.

Bug #1101536 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: 12534
Checker: STACK_USE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/400.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/src/privatescreen/tests/test-privatescreen.cpp
Function: privatescreen_EventManagerTest_create_and_destroy_Test::TestBody()
Code snippet:
732 TEST(privatescreen_EventManagerTest, create_and_destroy)
733 {
734 using namespace testing;
735
CID 12534 - STACK_USE
Local variable "comp_screen" uses 14736 bytes of stack space, which exceeds the maximum single use of 10000 bytes.
736 MockCompScreen comp_screen;
737
738 cps::EventManager em;
739 }
740
741 TEST(privatescreen_EventManagerTest, init)

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/privatescreen/tests/test-privatescreen.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity STACK_USE - CID 12534
+ Coverity STACK_USE - CID 12534 - src/privatescreen/tests/test-
+ privatescreen.cpp - in function:
+ privatescreen_EventManagerTest_create_and_destroy_Test::TestBody() -
+ Local variable "comp_screen" uses 14736 bytes of stack space, which
+ exceeds the maximum single use of 10000 bytes.
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.