diff options
author | 2020-09-13 14:26:56 +0000 | |
---|---|---|
committer | 2020-09-13 14:26:56 +0000 | |
commit | 3e16148d8fe176d83ff415f6c03a79618da4401e (patch) | |
tree | ad147973ad416853f933be13c4226bc26617a860 /lib/libssl/ssl_ciph.c | |
parent | The SMC base address and i/o region size is now queried by acpi(4) and (diff) | |
download | wireguard-openbsd-3e16148d8fe176d83ff415f6c03a79618da4401e.tar.xz wireguard-openbsd-3e16148d8fe176d83ff415f6c03a79618da4401e.zip |
Always use READ(16)/WRITE(16) commands for disks large enough to require
READ(16)/WRITE(16) to access the last sectors
Fixes (at least) large 512E (a.k.a. emulated 512-byte sector) devices plugged
into overly helpful USB <-> ATA/ATAPI bridges. Which can tell you they are using
512-byte sector addresses but spontaneously/silently interpret
READ(10)/WRITE(10) commands as using 4K sector addresses/sizes.
Diagnosed and fix tested with James Cook. Thanks!
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions