commit | d93adf55df94f9ef92096cc1a186e416ebf3d03a | [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 | 1c3d78403009008130d24c27ab3ea24ac6b14dfd [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