Re: [PATCH 2/4] staging: gigaset: fix illegal free on probe errors

2019-11-30 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: 2032e2c2309d ("usb_gigaset: code cleanup"). The bot has tested the following trees: v5.4.1, v5.3.14, v4.19.86, v4.14.156, v4.9.205, v4.4.205. v5.4.1: Build OK! v5.3.14: Build OK!

[PATCH 2/4] staging: gigaset: fix illegal free on probe errors

2019-11-29 Thread Johan Hovold
The driver failed to initialise its receive-buffer pointer, something which could lead to an illegal free on late probe errors. Fix this by making sure to clear all driver data at allocation. Fixes: 2032e2c2309d ("usb_gigaset: code cleanup") Cc: stable # 2.6.33 Cc: Tilman Schmidt Signed-off