1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/python
Tony Asleson e8c11c7df0 python: Check for NULL value before constructing string property
When retrieving a property value that is a string, if the character pointer in C
was NULL, we would segfault.  This change checks for non-null before creating a
python string representation.  In the case where the character pointer is NULL
we will return a python 'None' for the value.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
2015-05-06 08:51:04 -05:00
..
example.py python: python 3 compat patch for lvm2 2015-04-29 15:09:56 +02:00
liblvm.c python: Check for NULL value before constructing string property 2015-05-06 08:51:04 -05:00
Makefile.in makefiles: standard usage of make.tmpl 2014-11-22 09:58:31 +01:00
setup.py.in python: Add bindings for liblvm2app. 2012-10-12 02:08:47 +01:00