[lvm-devel] A bug in liblvm2app: lvm_pv_get_property()

ben benscott at nwlink.com
Sun Mar 4 05:06:15 UTC 2012


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.





More information about the lvm-devel mailing list