diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-02 01:11:31 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-02 01:11:31 +0200 |
commit | a750e58b21c05cffd81f460a72ed4dd6d27ee5ec (patch) | |
tree | 170d370c707f98dcbe90b1b9f92ff58b8b19520f /device/if_hdr.h | |
parent | 0e40fde7b8b9ff050b41ca62e86a91dec726972e (diff) |
Fix non-block-aligned-offset reads
This fixes grave issues when device_read is called with non-block-aligned
offset, e.g. when using grub-probe with a non-block-aligned partition table.
* linux/dev/glue/block.c (rdwr_full): Use current position instead of base
buffer position to check for alignment.
Diffstat (limited to 'device/if_hdr.h')
0 files changed, 0 insertions, 0 deletions