chardev: ensure termios is fully initialized
commit211ef6c4b6297a6275015c16b76bc72de35c56c3
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 11 Feb 2019 18:24:42 +0000 (11 18:24 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Feb 2019 16:35:56 +0000 (12 17:35 +0100)
tree6a2830817bd79c5dfbd48ca44387aa9f38d95bee
parent9baa6802fe55ea83dc8723bd7efcf633992a3e15
chardev: ensure termios is fully initialized

valgrind on the test-char.c code reports that 'struct termios' contains
uninitialized memory.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190211182442.8542-17-berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
chardev/char-serial.c