dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #10000
[Bug 1102589] Re: Coverity INTEGER_OVERFLOW - CID 10970
** Changed in: libappindicator
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to libappindicator in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1102589
Title:
Coverity INTEGER_OVERFLOW - CID 10970
Status in Libappindicator:
Fix Released
Status in libappindicator 13.04 series:
Fix Committed
Status in “libappindicator” package in Ubuntu:
Fix Released
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: 10970
Checker: INTEGER_OVERFLOW
Category: return_value_error
CWE definition: http://cwe.mitre.org/data/definitions/190.html
File: /tmp/buildd/libappindicator-12.10.1/src/generate-id.c
Function: _generate_id
Code snippet:
64 }
65 }
66 }
67
CID 10970 - INTEGER_OVERFLOW
Multiply operation overflows on operands "(category * 256 + first) * 256 + second" and "256".
Overflowed or truncated value (or a value computed from an overflowed or truncated value) "((category * 256 + first) * 256 + second) * 256 + third" used as return value.
68 return (((((category * 256) + first) * 256) + second) * 256) + third;
69 }
To manage notifications about this bug go to:
https://bugs.launchpad.net/libappindicator/+bug/1102589/+subscriptions