path: root/contrib
diff options
authorBrian Foster <>2013-10-02 07:15:44 -0400
committerAnand Avati <>2013-10-09 18:57:18 -0700
commit19ae2464c0800965c18c35132b0b6c7fe09d5f68 (patch)
treef5e520cce48f63c73d4773aa3c1d62ab91c8facb /contrib
parentce9a704361c0a3638e46911eb5275c02e6a5d9ab (diff)
features/qemu-block: invoke bdrv_init() only once
bdrv_init() is intended to be invoked only once. If invoked again after initialization (i.e., due to graph changes), the block driver registration code can reinsert entries into bdrv_drivers, effectively corrupting the NULL terminated linked list. This manifests as an infinite loop for callers attempt to traverse the list (to locate a driver). BUG: 986775 Change-Id: I2f95bda3c753dece4648cdad009d0e2a2d16f644 Signed-off-by: Brian Foster <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions