diff options
author | Amit Shah <amit.shah@redhat.com> | 2013-08-07 08:24:17 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-08-09 05:32:16 +0200 |
commit | 3b868a4073cdedf395f26d843874414e0e0e9cfd (patch) | |
tree | c61396970bcaa517abe6511dda51914737a8dfd3 /drivers/lguest | |
parent | Merge branch 'master' into virtio-next (diff) | |
download | linux-3b868a4073cdedf395f26d843874414e0e0e9cfd.tar.xz linux-3b868a4073cdedf395f26d843874414e0e0e9cfd.zip |
virtio: console: prevent use-after-free of port name in port unplug
Remove the debugfs path before freeing port->name, to prevent a possible
use-after-free.
Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions