SOURCES: python-pyblock-fix.patch (NEW) - fix possibly uninitializ...

qboosh qboosh at pld-linux.org
Sat May 20 10:10:51 CEST 2006


Author: qboosh                       Date: Sat May 20 08:10:51 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix possibly uninitialized variables

---- Files affected:
SOURCES:
   python-pyblock-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-pyblock-fix.patch
diff -u /dev/null SOURCES/python-pyblock-fix.patch:1.1
--- /dev/null	Sat May 20 10:10:51 2006
+++ SOURCES/python-pyblock-fix.patch	Sat May 20 10:10:46 2006
@@ -0,0 +1,20 @@
+--- pyblock-0.15/dm.c.orig	2006-02-08 20:43:08.000000000 +0100
++++ pyblock-0.15/dm.c	2006-05-20 10:09:37.897519250 +0200
+@@ -1466,7 +1466,7 @@
+ static PyObject *
+ pydm_maps(PyObject *self)
+ {
+-	struct dm_task *task;
++	struct dm_task *task = NULL;
+ 	struct dm_names *names;
+ 	int n;
+ 	unsigned int next = 0;
+@@ -1535,7 +1535,7 @@
+ static PyObject *
+ pydm_targets(PyObject *self)
+ {
+-	struct dm_task *task;
++	struct dm_task *task = NULL;
+ 	struct dm_versions *version, *last_version;
+ 	int n;
+ 	PyObject *list = NULL, *ret = NULL;
================================================================


More information about the pld-cvs-commit mailing list