blob: a6f7a96e34db5f1dff2c05e3b1de8ae2e2fc8ce0 [file] [log] [blame]
https://sourceforge.net/p/zbar/patches/37/
fix from Debian for crashes when importing the python module.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702499
this doesn't happen on some arches as the data naturally ends up with zero
data after the structure, but on some (like arm), it isn't so we crash when
python walks the list.
--- a/python/imagescanner.c
+++ b/python/imagescanner.c
@@ -68,6 +68,7 @@ imagescanner_get_results (zbarImageScanner *self,
static PyGetSetDef imagescanner_getset[] = {
{ "results", (getter)imagescanner_get_results, },
+ { NULL },
};
static PyObject*