commit | 67a8172649cc250a5cc7008b9c2d8946a7393eb4 | [log] [tgz] |
---|---|---|
author | Keith Mok <ek98522gmail.com> | Tue Feb 16 09:50:22 2016 -0800 |
committer | Keith Mok <ek9852@gmail.com> | Tue Feb 16 09:51:00 2016 -0800 |
tree | a105f1d61305926f564b847d6c826dd9efad073b | |
parent | 5ec63b6f3c2671ce79f00b602ffeee6f889ad06a [diff] |
fs_mgr: BLKGETSIZE causes memory corruption BLKGETSIZE return unsigned long sector size, but unsigned long is of 8 bytes in 64 bits system. Passing an integar value will causes stack corruption. Use BLKGETSIZE64 instead. Change-Id: I60323e51c6692d4405cf2ed015ab4216c1591f68