commit | 55013f7131ffe094e1c7d929cfc32b3b25096a9b | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Wed Feb 24 12:12:34 2010 -0800 |
committer | San Mehat <san@google.com> | Wed Feb 24 12:12:34 2010 -0800 |
tree | c799f3bc244bd00f9c991e6fba855d22425d2b3e | |
parent | 12f4b89046b54de1bdc188b7057ba77d7566e573 [diff] |
vold: Fix uninitialized mountpoint bug Signed-off-by: San Mehat <san@google.com>
diff --git a/VolumeManager.cpp b/VolumeManager.cpp index d4dad22..a1323ed 100644 --- a/VolumeManager.cpp +++ b/VolumeManager.cpp
@@ -416,6 +416,7 @@ char mountPoint[255]; snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id); + snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); if (isMountpointMounted(mountPoint)) { LOGD("Unmounting container before destroy");