From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH 00/28] Fixes for various minor Coverity issues, volume 2 Date: Wed, 18 Sep 2013 15:37:36 +1200 Message-ID: <1379475484-25993-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Matthew Daley List-Id: xen-devel@lists.xenproject.org Tested by building and creating a few PV and HVM domains. There shouldn't be anything too complicated or controversial here. Matthew Daley (28): gnttab: remove unused shared header lookup libxc: fix memory leak in load_p2m_frame_list error handling libxc: move munmap into the loop it's needed in in change_pte libxl: fix libxl_string_list_length and its only caller libxl: fix dispose without init of disk in cd_insert libxl: fix leak of corename in handle_domain_death libxl: fix leak of config_data in main_cpupoolcreate libxl: fix leak of rune in main_remus libxl: fix out-of-memory check in parse_global_config libxl: only free cpupoolinfo if necessary in libxl_list_cpupool libxl: only put poller if already gotten in libxl_event_wait libxl: only free cputopology if it was allocated in libxl__get_numa_candidate libxl: only free cputopology if it was allocated in libxl_{cpu,node}map_to_{node,cpu}map libxl: only free console reader if it was allocated in main_dmesg libxl: fix typo in libxl__hotplug_nic error checking libxl: fix file open failure check in libxl__file_reference_map libxl: gettimeofday doesn't return an errno on failure xenstored: handle unlikely failure better in ask_parents xenstored: fix faulty check for bad handle in domain_init xenstore: check socket path length before copying it mini-os: fix nodename generation in init_netfront mini-os: fix various memory leaks in blkfront mini-os: fix various memory leaks in {fb,kbd}front mini-os: fix various memory leaks in netfront mini-os: fix various memory leaks in pcifront mini-os: fix various memory leaks in consfront mini-os: fix various memory leaks in various locations gdbsx: clear sockaddr before using it extras/mini-os/blkfront.c | 11 +++++---- extras/mini-os/console/xenbus.c | 9 +++---- extras/mini-os/fbfront.c | 48 ++++++++++++++++++++++++------------- extras/mini-os/kernel.c | 7 ++++-- extras/mini-os/lib/xs.c | 2 ++ extras/mini-os/netfront.c | 23 +++++++++++------- extras/mini-os/pcifront.c | 29 ++++++++++++++-------- tools/debugger/gdbsx/gx/gx_comm.c | 1 + tools/libxc/xc_domain_restore.c | 1 + tools/libxc/xc_offline_page.c | 6 ++--- tools/libxl/libxl.c | 5 ++-- tools/libxl/libxl_bootloader.c | 2 +- tools/libxl/libxl_event.c | 2 +- tools/libxl/libxl_internal.c | 2 +- tools/libxl/libxl_linux.c | 2 +- tools/libxl/libxl_numa.c | 3 ++- tools/libxl/libxl_utils.c | 6 +++-- tools/libxl/xl.c | 4 ++-- tools/libxl/xl_cmdimpl.c | 18 ++++++++------ tools/xenstore/xenstored_core.c | 4 +++- tools/xenstore/xenstored_domain.c | 2 +- tools/xenstore/xs.c | 4 ++++ xen/common/grant_table.c | 1 - 23 files changed, 123 insertions(+), 69 deletions(-) -- 1.7.10.4