diff options
| author | Markus Armbruster <armbru@redhat.com> | 2014-02-26 10:30:03 -0700 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2014-02-26 10:30:03 -0700 |
| commit | 82d07945652f16078b172d2bd46659e8f5f30d8e (patch) | |
| tree | 72077ca349fb9c721802132aa96d9480fea7333b /scripts/qapi.py | |
| parent | 13665a2d2f675341e73618fcd7f9d36b6c68b509 (diff) | |
| download | focaccia-qemu-82d07945652f16078b172d2bd46659e8f5f30d8e.tar.gz focaccia-qemu-82d07945652f16078b172d2bd46659e8f5f30d8e.zip | |
pci-assign: Fix potential read beyond buffer on -EBUSY
readlink() doesn't write a terminating null byte. assign_failed_examine() passes the unterminated string to strrchr(). Oops. Terminate it. Spotted by Coverity. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions