diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-03-15 14:09:32 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-18 10:54:05 +0100 |
commit | a5489ae5bbd270f2a72b2179a9adf4089e3fb7b8 (patch) | |
tree | 518d544eaf78718a9c6276040b1e373aa5b74b8e /tests/qapi-schema/escape-too-big.json | |
parent | 18e845f7dfe089bc0c6a89c10c496054d30a681e (diff) |
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 <samuel.thibault@ens-lyon.org>
Message-Id: <20190315130932.26094-1-samuel.thibault@ens-lyon.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/qapi-schema/escape-too-big.json')
0 files changed, 0 insertions, 0 deletions