hostapd/wpaspy
Jonathan Afek 93568233bc wpaspy: Fix potentially referencing non existing attribute
In wpaspy.py in the Ctrl object constructor there is a try/except. In
the except part the code references the s attribute of the object. This
attribute is only created later in the try part. If an exception occurs
before the attribute creation then the except part references a non
existing attribute. Fix that by assigning None to the s attribute at the
beginning of the try part.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
2016-05-28 16:34:09 +03:00
..
Makefile wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
setup.py wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
test.py wpaspy: Add support for UDP connection 2016-03-05 17:44:51 +02:00
wpaspy.c wpaspy: Add Python bindings for wpa_ctrl 2013-03-01 23:27:56 +02:00
wpaspy.py wpaspy: Fix potentially referencing non existing attribute 2016-05-28 16:34:09 +03:00