Coverity USE_AFTER_FREE - CID 12601 - plugins/animation/src/private.h - in function: FocusFadeAnim::~FocusFadeAnim() - "RestackAnim::~RestackAnim()" frees "this->texturesCache". Calling "FadeAnim::~FadeAnim()" frees pointer "this->texturesCache" which has already been freed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Invalid
|
High
|
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: 12601
Checker: USE_AFTER_FREE
Category: double_free
CWE definition: http://
File: /tmp/buildd/
Function: FocusFadeAnim:
Code snippet:
642 int mVisitCount; ///< how many times walker/glPaint has visited this window
643 bool mIsSecondary; ///< whether this is one of the secondary (non-topmost) in its restack chain
644 };
645
CID 12601 - USE_AFTER_FREE
"RestackAnim:
Calling "FadeAnim:
646 class FocusFadeAnim :
647 public RestackAnim,
648 public FadeAnim
649 {
650 public:
651 FocusFadeAnim (CompWindow *w,
summary: |
- Coverity USE_AFTER_FREE - CID 12601 + Coverity USE_AFTER_FREE - CID 12601 - plugins/animation/src/private.h - + in function: FocusFadeAnim::~FocusFadeAnim() - + "RestackAnim::~RestackAnim()" frees "this->texturesCache". Calling + "FadeAnim::~FadeAnim()" frees pointer "this->texturesCache" which has + already been freed. |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
Changed in compiz: | |
status: | New → Triaged |
no longer affects: | compiz/0.9.9 |
no longer affects: | compiz/0.9.10 |
Changed in compiz: | |
milestone: | 0.9.11.0 → 0.9.12.0 |
Changed in compiz: | |
milestone: | 0.9.12.0 → 0.9.12.1 |
Source file with Coverity annotations.