Coverity PW.BRANCH_PAST_INITIALIZATION - CID 10737
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libappindicator |
Fix Released
|
Medium
|
Charles Kerr | ||
0.4 |
New
|
Undecided
|
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: 10737
Checker: PW.BRANCH_
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: No function name available
Code snippet:
778 AppIndicator *self = APP_INDICATOR (object);
779 AppIndicatorPrivate *priv = self->priv;
780 GEnumValue *enum_val;
781
CID 10737 - PW.BRANCH_
transfer of control bypasses initialization of:
variable "val" (declared at line 928)
782 switch (prop_id) {
783 case PROP_ID:
784 if (priv->id != NULL) {
785 g_warning ("Resetting ID value when I already had a value of: %s", priv->id);
786 break;
787 }
Related branches
- Ted Gould (community): Approve
-
Diff: 17 lines (+2/-5)1 file modifiedsrc/app-indicator.c (+2/-5)
- Ken VanDine: Pending requested
-
Diff: 919 lines (+167/-133)14 files modifiedChangeLog (+20/-0)
bindings/vala/examples/indicator-example.vala (+3/-3)
configure (+10/-10)
configure.ac (+1/-1)
debian/changelog (+9/-0)
debian/control (+1/-1)
docs/reference/html/ch01.html (+1/-1)
docs/reference/html/index.html (+1/-1)
docs/reference/html/libappindicator-app-indicator.html (+16/-16)
docs/reference/libappindicator-docs.sgml (+1/-1)
docs/reference/version.xml (+1/-1)
example/simple-client-vala.c (+83/-75)
example/simple-client-vala.vala (+18/-18)
src/app-indicator.c (+2/-5)
Changed in libappindicator: | |
status: | New → In Progress |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in libappindicator: | |
status: | In Progress → Fix Committed |
Changed in libappindicator: | |
status: | Fix Committed → Fix Released |
Changed in libappindicator: | |
milestone: | none → 0.4.92 |
Source file with Coverity annotations.