From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Uninitialised issue in hvmemul_do_io() Date: Thu, 22 May 2014 11:27:36 +0100 Message-ID: <537DD118.3060806@citrix.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: Paul Durrant Cc: Xen-devel List List-Id: xen-devel@lists.xenproject.org Hello, The latest Coverity run identified an issue in hvmemul_do_io() ioreq_t p; is declared without initialiser. By following the false branches, it is possible to get to line 230 of hvm/emulate.c in the X86EMUL_UNHANDLEABLE case and call hvm_send_assist_req() with a still uninitialised p. This is Coverity-ID 1215178 ~Andrew