aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAmit Shah <[email protected]>2013-08-07 15:54:17 +0930
committerRusty Russell <[email protected]>2013-08-09 13:02:16 +0930
commit3b868a4073cdedf395f26d843874414e0e0e9cfd (patch)
treec61396970bcaa517abe6511dda51914737a8dfd3 /lib/memory-notifier-error-inject.c
parent11489736177c5930514482b4db7af862d945335d (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 <[email protected]> Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions