Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2040541imm; Fri, 7 Sep 2018 09:54:12 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbmw4rESD+9w3iU7uG3rDmV9L/kkzGFTYktL0C83N0vyTCWnboBrbfUGQQnGVCd4pWK0OWf X-Received: by 2002:a17:902:b115:: with SMTP id q21-v6mr8977772plr.333.1536339252803; Fri, 07 Sep 2018 09:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536339252; cv=none; d=google.com; s=arc-20160816; b=gL0bvGdLBqZYoAO8zguQC+4z/R7ODecKTEAWKVJ5TG92HnQjM99dhr7jR0dPRHGPn4 G8CdBVild2uVqcmuSU38ApQW8pI6PXA1fFIvRNsPFNXtseEydZ8sBrt9J/Wp+KxtFsgM pOc6M7TKvPdHRcbiNh+2+Nd7BuW2V72/B9FGS0VuSshy4NaJyG6HJsTfMoPHaAstCbXg v6XVR86P41vvK2UnLjpgyl5iOF0K1OaCF8bJvyR1zm7LiC0M7eaHkSAkX9qtrygI0mnu psBFX8xOoAX60DpEpJe4ZRO4Kgw/BKlihIstB58TxffXTmJV+eKsDYQ31M5KzgXODQMM RZwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=5nuSMZNoZIoE1sAVF2ohzsrnM5QcDoyBNV4RkrEhPTU=; b=DnfNgu0wS6dTAAPp9bsOy5HSUY/FSjwLzDVHlG7pZzrRHfM21xv1vSntDMKr1U+l6q UR4TLFWKRM98Rj+SJGDYzUOekOpjNsKBOtj3h/eeqHkFOV3Hf/CwsHmdutcQntfHGCXN Q6VZaBLUeT7cS+bM+CXgCzSZl+TgZWX4C/E+KpnMwI/eZLYGtTG2nPBWNaj2XjUp8pn8 l/dUxAvEB3aiKluNZie3nrtyDYeyKr7vmH7Pz8DYOlBMsrOXoXELSDy7cmfPBmzBozT1 aKp25YRPSq248FaOZJ+T8ZMX3E/j/u/ADQlIHn386up8lr3gTdJZRQmj1Sdi8IuhCIUW +LOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y187-v6si8847080pfy.151.2018.09.07.09.53.57; Fri, 07 Sep 2018 09:54:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726365AbeIGVcz (ORCPT + 99 others); Fri, 7 Sep 2018 17:32:55 -0400 Received: from nautica.notk.org ([91.121.71.147]:38067 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbeIGVcz (ORCPT ); Fri, 7 Sep 2018 17:32:55 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id 7BDBDC009; Fri, 7 Sep 2018 18:51:07 +0200 (CEST) From: Dominique Martinet To: v9fs-developer@lists.sourceforge.net, Eric Van Hensbergen , Latchesar Ionkov Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Dominique Martinet Subject: [PATCH 0/4] 9p coverity fixes Date: Fri, 7 Sep 2018 18:50:53 +0200 Message-Id: <1536339057-21974-1-git-send-email-asmadeus@codewreck.org> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dominique Martinet Since we already had one coverity fix for 9p, I figured I could request an account and look at stuff that actually could matter. The leak of glock.client_id wasn't found by coverity but when I was looking at a false positive there, of the rest the rdma one is useless but the other two are pretty important -- I will probably mark the three useful ones to backport to stable kernels. As usual, comments more than welcome, but I'll probably push them to linux-next along with the other patches that need test after testing the whole batch together next week. Dominique Martinet (4): 9p: acl: fix uninitialized iattr access 9p/rdma: remove useless check in cm_event_handler 9p: p9dirent_read: check network-provided name length 9p locks: fix glock.client_id leak in do_lock fs/9p/acl.c | 2 +- fs/9p/vfs_file.c | 16 ++++++++++++++-- net/9p/protocol.c | 12 +++++++++--- net/9p/trans_rdma.c | 3 +-- 4 files changed, 25 insertions(+), 8 deletions(-) -- 2.17.1