[Bf-committers] Klocwork source analysis
Stephen Swaney
sswaney at centurytel.net
Sat Dec 2 07:13:05 CET 2006
On Fri, Dec 01, 2006 at 09:01:21PM -0700, Joe Eagar wrote:
> Hi. I looked at the ID property stuff in the report, and the report
> seems completely useless on it. It makes no sense, the line numbers
> don't match, and frankly I have no clue what's going on there :S
The report was done before you made some changes so the line
numbers don't match.
In BPy_IDProperty_getattr(), you are not checking the pointer
returned from PyObject_New() before using it. It can be NULL.
Also the use of Py_XINCREF() looks a little suspicious.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-committers
mailing list