mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 12:40:08 +00:00
5f4884c441
Coverity found that 'uuid', 'csi' and 'eui64' are uninitialized. While
we set most of the fields, we do not explicitly set the rsvd2 field in
the NvmeIdNsDescr header.
Fix this by explicitly zero-initializing the variables.
Reported-by: Coverity (CID 1458835, 1459295 and 1459580)
Fixes:
|
||
---|---|---|
.. | ||
ctrl.c | ||
dif.c | ||
Kconfig | ||
meson.build | ||
ns.c | ||
nvme.h | ||
subsys.c | ||
trace-events | ||
trace.h |