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(-) -- 2.35.1