- don't free an uninitialized pointer
This commit is contained in:
parent
d19d1b26bb
commit
58eccb4e44
13
cracklib-2.8.15-init.patch
Normal file
13
cracklib-2.8.15-init.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Don't free an uninitialized pointer. SF#2907102
|
||||||
|
|
||||||
|
diff -up cracklib-2.8.15/python/_cracklibmodule.c cracklib-2.8.15/python/_cracklibmodule.c
|
||||||
|
--- cracklib-2.8.15/python/_cracklibmodule.c 2009-12-01 15:39:57.000000000 -0500
|
||||||
|
+++ cracklib-2.8.15/python/_cracklibmodule.c 2009-12-01 15:39:59.000000000 -0500
|
||||||
|
@@ -106,6 +106,7 @@ _cracklib_FascistCheck(PyObject *self, P
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
free(dictfile);
|
||||||
|
+ defaultdict = NULL;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
defaultdict = strdup(GetDefaultCracklibDict());
|
Loading…
Reference in New Issue
Block a user