summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-08-20 20:50:10 +0000
committerkettenis <kettenis@openbsd.org>2015-08-20 20:50:10 +0000
commitd447bc8096b4d7734a9f0f7ed71498025ea75d81 (patch)
tree0ea7b4f8f994b3442fcc40475c52e4be248811bc /usr.bin/ssh/sshconnect.c
parentAvoid left-shifting a negative integer, which is undefined. Replace (diff)
downloadwireguard-openbsd-d447bc8096b4d7734a9f0f7ed71498025ea75d81.tar.xz
wireguard-openbsd-d447bc8096b4d7734a9f0f7ed71498025ea75d81.zip
Respect the access size when reading or writing to pci config space.
This version also makes sure writes are properly aligned, preventing the panics seen with the previous incarnation of this change. Fixes battery status passthrough in vmware, brightness keys on my x220 and who knows what else. ok mlarkin@, deraadt@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
0 files changed, 0 insertions, 0 deletions