Message ID | 20180430200223.4119-1-marcel.apfelbaum@gmail.com |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CVpQqBBS"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Zb7P1lLlz9s2b for <incoming@patchwork.ozlabs.org>; Tue, 1 May 2018 06:02:51 +1000 (AEST) Received: from localhost ([::1]:33152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fDF0X-0003jp-GF for incoming@patchwork.ozlabs.org; Mon, 30 Apr 2018 16:02:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcel.apfelbaum@gmail.com>) id 1fDEzm-0003ja-8I for qemu-devel@nongnu.org; Mon, 30 Apr 2018 16:01:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcel.apfelbaum@gmail.com>) id 1fDEzj-0005pt-4d for qemu-devel@nongnu.org; Mon, 30 Apr 2018 16:01:58 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:38011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <marcel.apfelbaum@gmail.com>) id 1fDEzi-0005pJ-Tx for qemu-devel@nongnu.org; Mon, 30 Apr 2018 16:01:55 -0400 Received: by mail-wr0-x244.google.com with SMTP id 94-v6so7812122wrf.5 for <qemu-devel@nongnu.org>; Mon, 30 Apr 2018 13:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PF+YB7Y/8ew+5w4Rjz7vIjd94+qO6lZHaqHOfHliCEs=; b=CVpQqBBSUJ0CyGlBjt5cgg57ePgYDsAtRz8ODdfZ3XdeyCkpNh6g5t1G0NulB0H45F Qzo7fVvT8ceLkBNu3aNjzQjEWY2mvnwUpNRac4xoNl3Z2ZwFnkGPkxymI005Mlz23azg M8DxmDlsxbj2r5DciC37DW63RlCT/pzog7LfEhdnT+YJ1R1+iZeJOQLYitMhfAU29M7R 3yApQbWd7kWKux0NZXFPJI1saNwamaO4mr+cG0/QQhWMYsBTHOP+xi/YNcUA/8PeEGh8 Nwt+13Q96Y/a/slGxV4BBeRP8Pvh0hDzo3t1gX/2ZmHnz5yx/Jds35nJwoj5HrVr8b2j FzLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PF+YB7Y/8ew+5w4Rjz7vIjd94+qO6lZHaqHOfHliCEs=; b=VyukBcDjRIQeKESPRcORXTsGKVtW9jhe6JKIoWsN/4nsqLryjdZUY0+GofXOsf2Gwm TtTiCJL1974dMC+bIJzSlGJIWMGe/S1m6gLrlPjFs5RCVe3/RAuphV3dfUDx9j3eTuqC lzc0+ednVDSEJ/3ocQ3u3f7i4nvcB6efWgdZvV41kqvT5Z+stOXHb/EQykkXcyJYAdGz jj+cQVwmNbEm5SM7Ow2E75irn1oY2Y9ZdXzZY0sH5ckKcESf1KZE0oMrKl9wf/5rnAgs heCJ86I8dWpXxSf0w9wXFPcr4MWtgb8rQFQRNivfO3KesaKD2ob7V/5WrdLF6wV4clq7 LVrg== X-Gm-Message-State: ALQs6tB0RwQDBECrAckHmJAgWb1sZSWJ2ahfpv/ESWfbZjVntUj8OH7J us7uSIn0VzKIIoO9MZcWW8POWw== X-Google-Smtp-Source: AB8JxZrUteMDH/G71hflvR+Az9t+8sHhKYEVVInPZPIY/jJserbSvYjbKKclacIjadQMS8uXPzfQfw== X-Received: by 2002:adf:9a54:: with SMTP id z78-v6mr9375001wrb.235.1525118513357; Mon, 30 Apr 2018 13:01:53 -0700 (PDT) Received: from localhost.localdomain ([176.228.154.53]) by smtp.gmail.com with ESMTPSA id u35-v6sm8455997wrc.29.2018.04.30.13.01.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 13:01:52 -0700 (PDT) From: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2018 23:02:16 +0300 Message-Id: <20180430200223.4119-1-marcel.apfelbaum@gmail.com> X-Mailer: git-send-email 2.14.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH 0/7] hw/rdma: coverity fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, yuval.shaia@oracle.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
hw/rdma: coverity fixes
|
expand
|
From: Marcel Apfelbaum <marcel@redhat.com> Various fixes that were found by coverity. (run by Peter, thanks!) Thanks, Marcel Marcel Apfelbaum (3): hw/rdma: Fix possible munmap call on a NULL pointer hw/rdma: Fix possible usage of a NULL pointer hw/rdma: Fix possible out of bounds access to port GID index Yuval Shaia (4): hw/rdma: Delete port's pkey table hw/rdma: Fix possible out of bounds access to GID table hw/rdma: Fix possible out of bounds access to regs array hw/rdma: Delete duplicate definition of MAX_RM_TBL_NAME hw/rdma/rdma_backend.c | 2 +- hw/rdma/rdma_rm.c | 2 -- hw/rdma/rdma_rm_defs.h | 9 ++++----- hw/rdma/vmw/pvrdma.h | 6 +++--- hw/rdma/vmw/pvrdma_cmd.c | 10 +++++++--- hw/rdma/vmw/pvrdma_main.c | 19 ++----------------- hw/rdma/vmw/pvrdma_qp_ops.c | 1 + 7 files changed, 18 insertions(+), 31 deletions(-)