]> Git Repo - qemu.git/commit
curses ui: always initialize all curses_line fields
authorSamuel Thibault <[email protected]>
Fri, 15 Mar 2019 13:09:32 +0000 (14:09 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 18 Mar 2019 09:54:05 +0000 (10:54 +0100)
commita5489ae5bbd270f2a72b2179a9adf4089e3fb7b8
tree518d544eaf78718a9c6276040b1e373aa5b74b8e
parent18e845f7dfe089bc0c6a89c10c496054d30a681e
curses ui: always initialize all curses_line fields

cchar_t can contain not only attr and chars fields, but also ext_color.
Initialize the whole structure to zero instead of enumerating fields.

Spotted by Coverity: CID 1399711

Signed-off-by: Samuel Thibault <[email protected]>
Message-Id: <20190315130932[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/curses.c
This page took 0.021986 seconds and 4 git commands to generate.