aboutsummaryrefslogtreecommitdiff
path: root/unittest/test_multiple.py
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-06 13:16:00 +0100
committerRobin Krahl <robin.krahl@ireas.org>2020-01-06 13:16:00 +0100
commit2f1c76bf82619e0809a41a1df4fe0e26c6315270 (patch)
tree4d77864bf1131798e5523d067d9d6287e3b8f5ad /unittest/test_multiple.py
parent2c52393d12dbb16ce1d643cf020aff964da6ec89 (diff)
downloadlibnitrokey-2f1c76bf82619e0809a41a1df4fe0e26c6315270.tar.gz
libnitrokey-2f1c76bf82619e0809a41a1df4fe0e26c6315270.tar.bz2
device: Check for nullptr in Device::enumerate
While the fields of the hid_device_info struct should not be null, it is better to perform an explicit check before trying to construct strings from them.
Diffstat (limited to 'unittest/test_multiple.py')
0 files changed, 0 insertions, 0 deletions