aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/README.PythonPlugin
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-05-20 04:28:53 -0400
committerJohannes Berg <johannes@sipsolutions.net>2010-05-25 07:17:03 -0400
commit7859f181ab1f7289e582b8c2256d12d0f169118d (patch)
treecaf75d6ed9b8120be3bf0928e398e6f620e1c813 /Documentation/README.PythonPlugin
parent0ab540c4b72e3bdebfcbe7af84a70fa757ab3bf8 (diff)
python: avoid crashes with fields
When accessing a field that doesn't exist, we may get None, and then pass that NULL pointer to C -- catch that and make the num_field() method return None then. Acked-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'Documentation/README.PythonPlugin')
0 files changed, 0 insertions, 0 deletions