diff options
author | Keith Mok <ek98522gmail.com> | 2016-02-16 09:50:22 -0800 |
---|---|---|
committer | Keith Mok <ek9852@gmail.com> | 2016-02-16 09:51:00 -0800 |
commit | d93adf55df94f9ef92096cc1a186e416ebf3d03a (patch) | |
tree | a105f1d61305926f564b847d6c826dd9efad073b /fastboot/tcp_test.cpp | |
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
Diffstat (limited to 'fastboot/tcp_test.cpp')
0 files changed, 0 insertions, 0 deletions