]> sigrok.org Git - pulseview.git/commit
device: ensure bind_enum() checks availability of Capability::LIST.
authorAurelien Jacobs <redacted>
Thu, 12 Feb 2015 14:46:42 +0000 (15:46 +0100)
committerUwe Hermann <redacted>
Fri, 13 Feb 2015 15:12:41 +0000 (16:12 +0100)
commitef2986c0f3e0ce3346a28d86348d8cc1746e9b66
tree1fb138fd35813be3b473860384378016d646eff4
parent0aff286e72c0fb99e2dfeed565a8f5470b2296f0
device: ensure bind_enum() checks availability of Capability::LIST.

This avoids a segfault calling bind_enum() with a non-initialized gvar_list.

This closes bug #453.
pv/binding/device.cpp
pv/binding/device.hpp