Neal Norwitz
c6a989ac3a
Fix problems found by Coverity.
...
longobject.c: also fix an ssize_t problem
<a> could have been NULL, so hoist the size calc to not use <a>.
_ssl.c: under fail: self is DECREF'd, but it would have been NULL.
_elementtree.c: delete self if there was an error.
_csv.c: I'm not sure if lineterminator could have been anything other than
a string. However, other string method calls are checked, so check this
one too.
2006-05-10 06:57:58 +00:00
Fredrik Lundh
44ed4db955
merged with cElementTree development trunk (1.0.6 snapshot):
...
Fixed a number of potential null-pointer-reference-under-pressure
glitches, based on input from the Coverity analysis tool and Simo
Salminen.
2006-03-12 21:06:35 +00:00
Martin v. Löwis
02cbf4ae4b
More unconsting.
2006-02-27 17:20:04 +00:00
Martin v. Löwis
18e165558b
Merge ssize_t branch.
2006-02-15 17:27:45 +00:00
Neal Norwitz
02876df9de
Check return results for errors
2006-02-07 06:58:52 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Fredrik Lundh
c3389997d4
SF#1389809
...
cast first PyUnicode_Decode argument to proper type (why is
"char *" used for encoded byte streams, btw? shouldn't that
be "void *" or, if necessary, "unsigned char *"?)
2005-12-25 11:40:19 +00:00
Fredrik Lundh
0149e3a090
Fixed None reference leaks in TreeBuilder class (reported by Neal
...
Norwitz)
2005-12-18 13:58:25 +00:00
Fredrik Lundh
b80775ecf1
Fixed reference counting error when using the entity dictionary
...
(reported by Chris Olds). Backported from the 1.0.6 development
branch.
2005-12-17 08:33:21 +00:00
Fredrik Lundh
6d52b55c56
updating to cElementTree 1.0.5 (step 3 of 3)
2005-12-16 22:06:43 +00:00
Fredrik Lundh
8c8836b406
updating to cElementTree 1.0.5 (step 2 of 3)
2005-12-16 22:06:06 +00:00
Fredrik Lundh
7cfe6eee0d
updating to cElementTree 1.0.5
2005-12-16 22:05:40 +00:00
Fredrik Lundh
c97ba7064e
added PSG licensing blurb
2005-12-14 22:30:36 +00:00
Fredrik Lundh
14b4feac6a
renamed to _elementtree (for Python 2.5)
2005-12-14 21:46:41 +00:00
Fredrik Lundh
0c53bfd374
copied cElementTree 1.0.4 to Modules
2005-12-14 21:45:58 +00:00