All of lore.kernel.org
 help / color / mirror / Atom feed
* Segfault in hcidump
@ 2018-12-11 12:36 Troels Dalsgaard Hoffmeyer
  0 siblings, 0 replies; only message in thread
From: Troels Dalsgaard Hoffmeyer @ 2018-12-11 12:36 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I'm using bluez v5.50 on Linux 4.9 on an embedded arm board.

When I use hcidump and then connect to the device over BLE I get a segfault.
The log until that point is:
> HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 128, role slave
      bdaddr 55:3A:69:2B:2E:98 (Random)
< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
> HCI Event: Command Status (0x0f) plen 4
    LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
> ACL data: handle 128 flags 0x02 dlen 11
    ATT: Handle indicate (0x1d)
> HCI Event: LE Meta Event (0x3e) plen 11
Segmentation fault

If I run it under valgrind I get:
==1944== Invalid read of size 1
==1944==    at 0x4842B10: strlen (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so)
==1944==  Address 0x726f is not stack'd, malloc'd or (recently) free'd

Kind regards
Troels Dalsgaard Hoffmeyer

This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-11 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 12:36 Segfault in hcidump Troels Dalsgaard Hoffmeyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.