OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c677a5
)
Fix possible array out of bounds.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Tue, 21 Jul 2009 19:00:50 +0000
(16:00 -0300)
committer
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Tue, 21 Jul 2009 20:11:13 +0000
(17:11 -0300)
test/hciemu.c
patch
|
blob
|
history
diff --git
a/test/hciemu.c
b/test/hciemu.c
index
ac0a996
..
3d5a366
100644
(file)
--- a/
test/hciemu.c
+++ b/
test/hciemu.c
@@
-518,7
+518,7
@@
static void disconnect(uint8_t *data)
handle = btohs(cp->handle);
- if (handle
- 1
> VHCI_MAX_CONN)
+ if (handle > VHCI_MAX_CONN)
return;
if (!(conn = vconn[handle-1]))