From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADBBB1482E8 for ; Wed, 8 Apr 2026 07:29:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775633384; cv=none; b=nsCFwEaa8y2JBUz5r8IKvg2QJ0gm+qZCuNvRVzE5neUlk919mbGWnlyBw7Qk4VxClTk/2iHYTN85s4KqAY0mC2j6/Dlju/Y6pdqC5FZ28KbW+mHCIy57ZY4JmxPK01PRcbBTgjonqNMvj5NzKAMQ2kH3h41to5Q37DBSuzdsYAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775633384; c=relaxed/simple; bh=cKSNMqLJz0NGN18IiNVAGIQZTI4URku+1Rx2DUYJKdI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=WTzHvfz4preX/UB1H1SuVFw6OjCJTLFprNMMXpW79CtiD396z2X0HgzGE3YS0gj0Gf1k0dbxeIOG6FFIWJubvk5iY8aQlmpU5vELfqMY4xZOhiV6yW/FQpHxpddp/Ileo9u/aZATHDhomnRBlhkgUi+SROzhgKiR871yRJGNftA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=Om01HXL8; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="Om01HXL8" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=cKSNMqLJz0NGN18IiNVAGIQZTI4URku+1Rx2DUYJKdI=; t=1775633383; x=1776842983; b=Om01HXL8YtPLBZhrGw9FMSMeEQRSNd4xz+WSqFzIwh8IViM nQdKJK7JaMVGctWNNGGgrldCceWDh4phFU/Gz4GIwYdw2O8hceEF0dROjbQn6dcNSRp55Vmf+dGQF B8OiQcZJOe7fE3fQAwDm4lMyauoBr9H63srKtHwatSsOnJbaGGE70+vdboOgOnxVU4EzDbyFNvHuX fL5CnBdSY0ak70pWSivUW7NO0ZipiMuVpwJD5dsjZgf2jV/kYViibFNlDKsj3wGue5Yr2SfogKGJZ yeXgz/KRe1CTLlF1/Xx4bc5qBx2+cGfwnPh2bCF9xzXUqZZrWkhJpBaGCbZ7iCsg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98.2) (envelope-from ) id 1wANLy-0000000E6Xj-2Vp7; Wed, 08 Apr 2026 09:29:34 +0200 Message-ID: Subject: Re: [PATCH] um: mconsole: use bounded version string formatting From: Johannes Berg To: Pengpeng Hou , richard@nod.at, anton.ivanov@cambridgegreys.com Cc: akpm@osdl.org, sergeh@kernel.org, clg@fr.ibm.com, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org Date: Wed, 08 Apr 2026 09:29:33 +0200 In-Reply-To: <20260329030946.32410-1-pengpeng@iscas.ac.cn> References: <20260329030946.32410-1-pengpeng@iscas.ac.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Sun, 2026-03-29 at 11:09 +0800, Pengpeng Hou wrote: > mconsole_version() formats several UTS strings into a fixed 256-byte loca= l buffer with sprintf() and no length bound. You really should line-wrap all your commit messages. johannes