commit | 93897b9fd43548e9c15cf8bece2d9e5174b01fc7 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Oct 26 12:25:52 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 28 19:25:49 2011 +0200 |
tree | c5edbf523835ebaa0d0c477ada19e95ca5284d79 | |
parent | 99f1835d9bc744f98370254600530e66f32e6d81 [diff] |
vmdk: Fix possible segfaults Data we read from the disk isn't necessarily null terminated and may not contain the string we're looking for. The code needs to be a bit more careful here. Signed-off-by: Kevin Wolf <kwolf@redhat.com>