OSDN Git Service

hcitool: Fix EIR parsing
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 14 Oct 2011 11:23:05 +0000 (14:23 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 14 Oct 2011 11:23:05 +0000 (14:23 +0300)
commit6ecbffae1d0ee5b6e656dc9e9db3f8b86c0dbe1f
tree977152d218c04c310d260906db0d34157b8415a4
parent9122bd7ec7df653cbf7443282636693470b73f89
hcitool: Fix EIR parsing

There were missing buffer size checks and wrong assumptions about the
EIR data length (core spec 4.0 defines it to be max 31 bytes, so the
name can be max 29 bytes).
tools/hcitool.c