Skip to contentSkip to conversation

A bug in liblvm2app: lvm_pv_get_property()

DISCUSSION ben 1 participant 1 message Mar 4, 2012

lore
Share & tools
lore

ben

author
#0 lore raw

lvm version: 2.02.88

When calling the function:
value = lvm_pv_get_property(lvm_pv, "pv_tags")

The returned value doesn't always get terminated. The attribute characters at the start are correct but the string continues with garbage. The value is checked for validity with value.is_valid first.

Thank you.