]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix incorrect path length check in sanlock lockspace setup
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 30 Aug 2011 16:24:06 +0000 (12:24 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 31 Aug 2011 10:07:31 +0000 (11:07 +0100)
commit2223b1f71ff52c8b4e73b4a0c5d02f81b317e923
tree8a90a4030caca57dde4b01154e067dfa28730eed
parent173015bec6a08d61fa7bc3df06956484b1d1a294
Fix incorrect path length check in sanlock lockspace setup

The code for creating a sanlock lockspace accidentally used
SANLK_NAME_LEN instead of SANLK_PATH_LEN for a size check.
This meant disk paths were limited to 48 bytes !

* src/locking/lock_driver_sanlock.c: Fix disk path length
  check
src/locking/lock_driver_sanlock.c