commit | a4f48d0f44d09b6a9a3b16f6c0121ffd5123eef3 | [log] [tgz] |
---|---|---|
author | Mateusz Nowak <mateusz.nowak@intel.com> | Mon Aug 03 18:06:39 2015 +0200 |
committer | Zhiquan Liu <zhiquan.liu@intel.com> | Wed Oct 21 11:16:19 2015 +0800 |
tree | 301212d5f9803c194d157bce20eb8b3821f3fed3 | |
parent | 0331d4ae3843f682e98bfa1aba0f8da7fbd9beb0 [diff] |
vold: fix 64 bit ioctl error Changing the num_sectors used in ioctl with BLKGETSIZE because the kernel expects an unsigned long type and then changes 64 bits with a 64 bits userspace. This overwrites what's located close to the parameter location if any. Change-Id: I78fd61a1084de2741f39b926aa436462518709a0 Signed-off-by: Mateusz Nowak <mateusz.nowak@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>