summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-12-02 09:56:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-21 10:35:10 +0100
commita2b2bc294727658541ea884f60a688adf71b67cb (patch)
treee56370a28f3dd1f87d86168afd00309ad22f1bbc /scripts/basic
parent21c412902cf378681f7bfd9f2b6f2291933e78b5 (diff)
staging: gigaset: fix illegal free on probe errors
commit 84f60ca7b326ed8c08582417493982fe2573a9ad upstream. 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 <stable@vger.kernel.org> # 2.6.33 Cc: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20191202085610.12719-3-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions