Re: [PATCH] Bluetooth: A2MP: Do not set rsp.id to zero

2020-10-18 Thread Stefan Gottwald
Am Sonntag, den 18.10.2020, 10:05 +0200 schrieb Stefan Gottwald: > Due to security reasons the rsp struct is not zerod out in one case this will > also zero out the former set rsp.id which seems to be wrong. > > Signed-off-by: Stefan Gottwald > --- > net/bluetooth/a2mp.c | 3 ++- > 1 file change

[PATCH] Bluetooth: A2MP: Do not set rsp.id to zero

2020-10-18 Thread Stefan Gottwald
Due to security reasons the rsp struct is not zerod out in one case this will also zero out the former set rsp.id which seems to be wrong. Signed-off-by: Stefan Gottwald --- net/bluetooth/a2mp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/bluetooth/a2mp.c b/net/blue