]> sourceware.org Git - lvm2.git/commit
Fix buffer allocation size for uuid string
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 13 Mar 2011 22:57:51 +0000 (22:57 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 13 Mar 2011 22:57:51 +0000 (22:57 +0000)
commit77e3ec4e2851f5d005400bd02e55684aa01c3890
tree082f5842b138ea13107dfccb83084b4609f1e774
parent0e88dec7389728d16cb27bd1f584ba2b7d033c9e
Fix buffer allocation size for uuid string

We have 3 components and traling '\0' so allocate proper room for all of them.
Problem was nicely hidden by allocation from pool and allocation aligment
offset - so to trigger real problem with this one is actually hard.
WHATS_NEW
lib/misc/lvm-string.c
This page took 0.036195 seconds and 5 git commands to generate.