From nobody Thu May 05 14:45:33 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9AA031ACC426; Thu, 5 May 2022 14:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KvGhY3sqhz3LJX; Thu, 5 May 2022 14:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651761933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h+7uwIQUzC+bkEannK8NJLKKKjOE2WGRNetPfZiiewk=; b=BOhaNKNwrw6UTkId0Us9UWborSWTB/32x64sYPFpdP24HNnGitVrEr1WrTbrSKWWGvfM6d M2nAXmZI5VSFwG/FuLPYtN+W3rd34gegiHNkp0Wrx2QkiFpUPLYm3PsFCv7NvRZh2MaeUy 9yS19st9Rb4FJAAizIQ536RBT0N14kNCmP7qnqneqRAseJXlmHXZDMurD/SHTQtRD2gD1b hHaNE6L7B9UbABya+L009k6ypNe8+p3lWnsRFLoysx/xWjIxFHzl0YgwES8ep9wZmWXL95 jxhuoh1wpkoFamRm2Dqtar9/yUky6NvF4U0wN8kEGzq5IXAshXBtx+rwL/b96g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6039D1682; Thu, 5 May 2022 14:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 245EjXHq025987; Thu, 5 May 2022 14:45:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 245EjXKd025986; Thu, 5 May 2022 14:45:33 GMT (envelope-from git) Date: Thu, 5 May 2022 14:45:33 GMT Message-Id: <202205051445.245EjXKd025986@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alan Somers Subject: git: dcfa054216ef - main - fusefs: fix an undefined variable access List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: asomers X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dcfa054216ef8dfebed9c7c06c066bce0098bd94 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651761933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h+7uwIQUzC+bkEannK8NJLKKKjOE2WGRNetPfZiiewk=; b=meo8xVgBs7sIxCLb6TTF7UL/BQKRWCL3ITA3f4enKpkHEwxCAqviNa3/v68FgjcD2oCP/b dBCmzFmQX21+xhbIQXSBYLefo7uYjm198v+k8Swi30qpsz+l6gL48bKMicLhakuGvQ8+oo N6AcotiSvoLhF4N1lj28pOj3jAJklN1W2J3/XIeC6NKccGnNSrA2AnYSKcLR7kEKWd0e+C auosxD9BOiU+Shosq4FsJ7pIWmCi6owmghdKgGdCnj6M7VpaeFp+O+TwJblF15rmKBtS3o oM1a3bH4G5oX/K1MeRBNIfn1bogRkpyIIzBCyRdb9Ud2PuK7gVNbdXGlM+nOKA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651761933; a=rsa-sha256; cv=none; b=D06DDCQ9SUocFI+qKC2aDNQ64o6oZWoOZDsXjTHVGxtHvwTvQBBNIPJU9W9R1Fzm7W0jjn g0ZlvKyKK0dzu7fIoXdWXutO+M6JpWGawo3MHHnrY+xGO0qtBcLrZg2gkOrkDu0UAcrzxV SUtFMTdXfp+xuG6mj9GAn0Y+hLa0HXeyuI6tJpRKZhjaGG0okBkq8zEMXNfCrbxjkcOuuC +Arm6AKVwvaGpup4kx0FQlLCTyx7b5DcppAAskzWiCgVeppjPPQ9+Rndwh3q8Fv0FkTUEQ hiEG5kM/ccb2gixg8OZBYqqiNGrpKt+c5IXIYD2JuRy/PezGQTdHjBaqFDacHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=dcfa054216ef8dfebed9c7c06c066bce0098bd94 commit dcfa054216ef8dfebed9c7c06c066bce0098bd94 Author: Alan Somers AuthorDate: 2022-05-05 14:43:51 +0000 Commit: Alan Somers CommitDate: 2022-05-05 14:43:51 +0000 fusefs: fix an undefined variable access In an error path, a dtrace probe could access an undefined variable. Reported by: Coverity (CID 1471986) MFC after: 2 weeks Sponsored by: Axcient --- sys/fs/fuse/fuse_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/fuse/fuse_internal.c b/sys/fs/fuse/fuse_internal.c index 503c1c3c0b66..6ac7b4432e23 100644 --- a/sys/fs/fuse/fuse_internal.c +++ b/sys/fs/fuse/fuse_internal.c @@ -981,7 +981,7 @@ fuse_internal_init_callback(struct fuse_ticket *tick, struct uio *uio) { int err = 0; struct fuse_data *data = tick->tk_data; - struct fuse_init_out *fiio; + struct fuse_init_out *fiio = NULL; if ((err = tick->tk_aw_ohead.error)) { goto out;