xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* New Coverity issues (tools/libxl/testidl.c)
@ 2013-12-04 17:28 Andrew Cooper
  2013-12-04 17:48 ` [PATCH] tools: libxl: testidl: initialise the KeyedUnion keyvar before the union Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cooper @ 2013-12-04 17:28 UTC (permalink / raw)
  To: Xen-devel List; +Cc: Matthew Fioravante, Ian Jackson, Ian Campbell, Rob Hoes

>From the latest run, there have been two new issues.  They are both in
testidl.c, which appears to be code generated by gentests.py

CID1135378:  in libxl_domain_build_info_rand_init()
CID 1135379:  in libxl_event_rand_init()

In both cases, the complain is that in each function is a
"switch(p->type)" where p->type is completely uninitialised.

The complain looks genuine, but I defer to people more familiar with the
IDL and gentests.py for suggestions of how to fix it.

~Andrew

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-10 14:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 17:28 New Coverity issues (tools/libxl/testidl.c) Andrew Cooper
2013-12-04 17:48 ` [PATCH] tools: libxl: testidl: initialise the KeyedUnion keyvar before the union Ian Campbell
2013-12-04 17:54   ` Andrew Cooper
2013-12-05 11:39     ` Ian Campbell
2013-12-10 14:12       ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).