libnl/python/netlink
Arend van Spriel ae7f8cc988 python: remove use of PyArg_ParseTuple() for callback result
The message receive callback handler in the netlink api processes
the result object from the python callback. It used PyArg_ParseTuple()
to get the value, but this does not work as intended (see ref [1]).
Instead check the type and convert it accordingly.

refs:
[1] http://stackoverflow.com/questions/13636711/what-is-the-proper-usage-of-pyarg-parsetuple

Reported-by: Teto <mattator@gmail.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-07 09:45:56 +02:00
..
genl add generic netlink functions to swig 2013-07-18 23:22:18 +02:00
route Add VXLAN support. 2013-08-04 15:43:54 +09:00
__init__.py python interface to netlink protocols 2011-05-10 12:17:33 +02:00
capi.i python: remove use of PyArg_ParseTuple() for callback result 2013-10-07 09:45:56 +02:00
core.py python: add send and receive functions to Socket class 2013-09-05 17:46:00 +02:00
fixes.h python interface to netlink protocols 2011-05-10 12:17:33 +02:00
Makefile.am add python module for generic netlink library 2013-07-18 23:22:18 +02:00
util.py netlink.nlattr re-implemented in more pythonic way 2012-06-08 22:26:35 +06:00
utils.h python: rework netlink callback handling 2013-09-05 17:46:00 +02:00