Commit: 6ecbffae1d0ee5b6e656dc9e9db3f8b86c0dbe1f
Parent: 9122bd7ec7df653cbf7443282636693470b73f89
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-10-14 14:23:05
Tree: 977152d218c04c310d260906db0d34157b8415a4

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).

Diffstat

M tools/hcitool.c | 46 +++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - -

1 files changed, 27 insertions(+), 19 deletions(-)

View Full Diff | Patch