[PATCH] python: remove use of PyArg_ParseTuple() for callback result
Thomas Graf
tgraf at suug.ch
Mon Oct 7 03:46:17 EDT 2013
On 09/30/13 at 10:21am, Arend van Spriel wrote:
> 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 at gmail.com>
> Signed-off-by: Arend van Spriel <arend at broadcom.com>
Applied, thanks
More information about the libnl
mailing list