commit | d05e047ec0bc574836131ae230cf75d3b93fb55c | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Sun May 03 14:09:52 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Sun May 03 14:09:52 2015 -0700 |
tree | f9b8d2d98c689f28526b51f89f3e1efc60b84843 | |
parent | 0ae45f5bc3152c7643d4d7a9f0cb7f9803f99e81 [diff] |
Fix asan error when copying super block to backup super blocks Address santizier caught a bug where we memcpy a full block size into the backup super block, but the source may be offset 1024 bytes into a block size allocation. The destination buffer is zeroed by calloc, so just copy the super block size instead. Change-Id: I87af8e3349a63940905697466f62532c50fab720