Skip to content
Snippets Groups Projects
Commit 7ec54f9e authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

usb/redir: avoid dynamic stack allocation (CVE-2021-3527)


Use autofree heap allocation instead.

Fixes: 4f4321c1 ("usb: use iovecs in USBPacket")
Reviewed-by: Philippe Mathieu-Daudé's avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Gerd Hoffmann's avatarGerd Hoffmann <kraxel@redhat.com>
Tested-by: Philippe Mathieu-Daudé's avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210503132915.2335822-3-kraxel@redhat.com>
parent 3f67e2e7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment