diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-07-23 13:54:54 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-08-05 16:15:33 +0400 |
| commit | 46fe3ff6ea3e7a642b8545c0322ef5df873bd560 (patch) | |
| tree | 11fd82d6cd1325fd941c75d2f3db5e1beaa1b6a7 /scripts/qapi/parser.py | |
| parent | bb2b058f1a4e4fe9031133f2f7876fb12b2104d7 (diff) | |
| download | focaccia-qemu-46fe3ff6ea3e7a642b8545c0322ef5df873bd560.tar.gz focaccia-qemu-46fe3ff6ea3e7a642b8545c0322ef5df873bd560.zip | |
chardev: fix qemu_chr_open_fd() being called with fd=-1
The "file" chardev may call qemu_chr_open_fd() with fd_in=-1. This may cause invalid system calls, as the QIOChannel is assumed to be properly initialized later on. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions