Coverity STACK_USE - CID 12532 - plugins/cubeaddon/src/cubeaddon.cpp - in function: CubeaddonScreen::paintCap(const GLScreenPaintAttrib &, const GLMatrix &, CompOutput *, int, bool, bool) - Local variable "capVertices" uses 10080 bytes of stack space, which exceeds the maximum single use of 10000 bytes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
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:/
CID: 12532
Checker: STACK_USE
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: CubeaddonScreen
Code snippet:
513 normalizedOpacity);
514 streamingBuffer
515
516 GLushort *idx = mCapFillIdx;
CID 12532 - STACK_USE
Local variable "capVertices" uses 10080 bytes of stack space, which exceeds the maximum single use of 10000 bytes.
517 GLfloat capVertices[
518 GLfloat *capVerticesPtr = capVertices;
519
520 for (unsigned int i = 0; i < CAP_NIDX; ++i)
521 {
522 unsigned int vertexIndex = idx[i] * 3;
summary: |
- Coverity STACK_USE - CID 12532 + Coverity STACK_USE - CID 12532 - plugins/cubeaddon/src/cubeaddon.cpp - + in function: CubeaddonScreen::paintCap(const GLScreenPaintAttrib &, + const GLMatrix &, CompOutput *, int, bool, bool) - Local variable + "capVertices" uses 10080 bytes of stack space, which exceeds the maximum + single use of 10000 bytes. |
Changed in compiz: | |
status: | New → Triaged |
assignee: | nobody → MC Return (mc-return) |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
assignee: | MC Return (mc-return) → nobody |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Source file with Coverity annotations.