mbox series

[BlueZ,0/1] btmon: discard corrupt data

Message ID 20220505033745.3242729-1-LuoZhongYao@gmail.com (mailing list archive)
Headers show
Series btmon: discard corrupt data | expand

Message

LuoZhongYao May 5, 2022, 3:37 a.m. UTC
When damaged data is received, the data is not discarded and the offset
is not set correctly, which may cause data->offset == sizeof(data->buf),
resulting in the inability to continue to receive more data

LuoZhongYao (1):
  btmon: discard corrupt data

 monitor/control.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)