qemu/hw/bt
Paolo Bonzini e0df8f18f7 bt: avoid unintended sign extension
In the case of a 4-byte length, shifting a value by 24 may cause
an unintended sign extension when converting from int to size_t.
Use a uint32_t variable instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-12-04 09:39:55 +03:00
..
core.c
hci-csr.c
hci.c replay: replay blockers for devices 2015-11-06 10:16:03 +01:00
hid.c
l2cap.c l2cap: fix access to freed memory 2014-08-15 19:12:48 +04:00
Makefile.objs
sdp.c bt: avoid unintended sign extension 2015-12-04 09:39:55 +03:00