From nobody Mon May 01 14:30:36 2023 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 4Q95Gm6P7fz48c2L; Mon, 1 May 2023 14:30:40 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q95Gm5cFTz3h6P; Mon, 1 May 2023 14:30:40 +0000 (UTC) (envelope-from garga@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682951440; 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: in-reply-to:in-reply-to:references:references; bh=9fR9AZwin2BSDMTJITCZKzf++YtMmGyCaM1gnKEt7yA=; b=t5HPJBWWX1Vu2dBJ5sR1zbAiCA57a/qkHAdIZORpXStTmjnOnkcMwTbI3KrlRixtBYs6wl dngOpXPlW7pOsW+LDXxganz+ja3Fcxii2Tm2LM9QLgA/09Bga8lKW6Rsm0DPsKLZihCB27 JykFF8fKLZMc2QrWgdFgd57P+2afBUWhAWBcWEIm45TCv6tX1oKjmOOiXKWTOcJTkgOOJv PZ/tpCsv4t/7mOob3cqZPOv1LwSixrs1s8XSQZJJu9uC0GPUBDAENI5T5mP/AQiteULO2L vuEdVoB5911VyWUsfLkWIN//sAdakgts2NeNZneVLH9+UAQzxsH04ezQ92u/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682951440; 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: in-reply-to:in-reply-to:references:references; bh=9fR9AZwin2BSDMTJITCZKzf++YtMmGyCaM1gnKEt7yA=; b=wMGfXfqozIzFJ1OazD8j43oCWfNQ3PqkeRDDjED3TrtsHOQO3q7ElY0WXdegtZTLClAT8q EZHnIayL/4CibMa6LB/p9XqPT48igWJSX41aenis2ZT7LVGgXDn4kT/ke1RxXj1GccDvlk 1SGFPGKdBAnjJXqycZOPmnWvQOjuOWh/eSbLEvzDjb5iL/TTiNTcpFlsSDWnQ1/R5juoG5 digiv1YdoI0mI0Z23nFvap1xTBPzdHzO5WChVhH/JJuDCzPCQVoRKz8H0vXRW7G4051mTF aottvwqlS3NForztXy+M1wu1zpc3TcMg/Cj0CNoMoCThWgKGwxqq8DeVykv/2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682951440; a=rsa-sha256; cv=none; b=a7xMVKgGylpeVRvUjMzaOGCOJe1CJrNQlDNobzTw1oi8owplJjasy5QEOlbBXDCumBO69p 7sUrt3Ua/UimKSYtg6U8oGu+/CBjmnzmgmm/BD7MB8WVHcoNoiKYMFoKc0VLFCRlJnVUU/ cT1rYQYwaWcKmCISwjASq8L0VVkH27/dWa1fC8SDaq9EPqsmCPmCQOgX7ghXcNxpLUaL2T iaOPqo4RAmju75jCsYqoqeGlQnPZiTXlAzWqMdk8m3MW+NvjEab0/K1tjbalUQYYQsVN3+ QKsoarlKb6ANdJokE71iDxTu8l4MxVNsvdbLWwA0ahPhjAnpkm93VX8qjrzuIg== Received: from [172.21.4.170] (dynamic-177-53-82-16.telecominternet.net.br [177.53.82.16]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: garga) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q95Gm09xpzlTZ; Mon, 1 May 2023 14:30:39 +0000 (UTC) (envelope-from garga@FreeBSD.org) Message-ID: <58128e85-82e3-e529-2d65-1145e6c84c09@FreeBSD.org> Date: Mon, 1 May 2023 11:30:36 -0300 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 User-Agent: Mozilla Thunderbird Subject: Re: git: 6a09a7f1e9a5 - main - netlink: always zero provided header buffers. To: "Alexander V. Chernikov" , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202305011409.341E9wop057673@gitrepo.freebsd.org> Content-Language: en-US From: Renato Botelho In-Reply-To: <202305011409.341E9wop057673@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 01/05/23 11:09, Alexander V. Chernikov wrote: > The branch main has been updated by melifaro: > > URL: https://cgit.FreeBSD.org/src/commit/?id=6a09a7f1e9a52fb25158ca60216c6b817f8c0b71 > > commit 6a09a7f1e9a52fb25158ca60216c6b817f8c0b71 > Author: Alexander V. Chernikov > AuthorDate: 2023-05-01 14:07:33 +0000 > Commit: Alexander V. Chernikov > CommitDate: 2023-05-01 14:09:47 +0000 > > netlink: always zero provided header buffers. > > Reported by: KMSAN > MFC after: 3 days > --- > sys/netlink/netlink_message_writer.h | 1 + > sys/netlink/route/neigh.c | 3 --- > 2 files changed, 1 insertion(+), 3 deletions(-) > > diff --git a/sys/netlink/netlink_message_writer.h b/sys/netlink/netlink_message_writer.h > index 57fc1bf342ea..92e43834efc7 100644 > --- a/sys/netlink/netlink_message_writer.h > +++ b/sys/netlink/netlink_message_writer.h > @@ -225,6 +225,7 @@ nlmsg_reserve_data_raw(struct nl_writer *nw, size_t sz) > > void *data_ptr = &nw->data[nw->offset]; > nw->offset += sz; > + bzero(data_ptr, sz); At first look, this line seems to be indented wrong. But looking at cgit web interface it seems that other lines are wrong and this is correct. -- Renato Botelho