summaryrefslogtreecommitdiffstats
path: root/fsdev/qemu-fsdev.h
diff options
context:
space:
mode:
authorAmit Shah2010-04-30 13:13:55 +0200
committerAnthony Liguori2010-05-03 19:09:48 +0200
commita1c5975270f2335e1d7129c084a6e562d7b99bdd (patch)
tree75f63b60e1cbe9b75684445021b933f973270e22 /fsdev/qemu-fsdev.h
parentFix the RARP protocol ID (diff)
downloadqemu-a1c5975270f2335e1d7129c084a6e562d7b99bdd.tar.gz
qemu-a1c5975270f2335e1d7129c084a6e562d7b99bdd.tar.xz
qemu-a1c5975270f2335e1d7129c084a6e562d7b99bdd.zip
virtio-serial: Fix check for 'assert'; prevent NULL derefs
In the flush_queued_data() function, we expect port to be valid. Assert only for port and not port || discard. Reported-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'fsdev/qemu-fsdev.h')
0 files changed, 0 insertions, 0 deletions