projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff8d81d
)
Fix a bad memcpy length (Bruce Rogers).
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 25 Oct 2008 00:10:20 +0000
(
00:10
+0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 25 Oct 2008 00:10:20 +0000
(
00:10
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5528
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/bt-sdp.c
patch
|
blob
|
history
diff --git
a/hw/bt-sdp.c
b/hw/bt-sdp.c
index 1d152f732ddc03ddcac553907fd8b7ad11c97b45..bb060d1048e154894f789a8afd320a3812d1328b 100644
(file)
--- a/
hw/bt-sdp.c
+++ b/
hw/bt-sdp.c
@@
-254,7
+254,7
@@
static ssize_t sdp_attr_get(struct bt_l2cap_sdp_state_s *sdp,
/* Perform the search */
if (len < 7)
return -SDP_INVALID_SYNTAX;
- memcpy(&handle, req,
6
);
+ memcpy(&handle, req,
4
);
req += 4;
len -= 4;