commit | 83c058bc32c4e377a75235120885aec7dfd223c7 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Fri Jul 19 12:55:11 2013 +0530 |
committer | Amit Shah <amit.shah@redhat.com> | Thu Jul 25 19:05:30 2013 +0530 |
tree | d61c0d791c11df8503ea5bed57cddf47f893a767 | |
parent | 757aac3a03423986825852680496f69db0f6c7de [diff] |
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>