Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5688200rwb; Tue, 17 Jan 2023 17:35:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXv78eHvTl+ZDufi6wfy00S45BOj/ou3jMOOIAqDJqs5zZKUveKfZ0zEOul0XP54nTSAXXcs X-Received: by 2002:a17:902:8f82:b0:194:5116:c3e1 with SMTP id z2-20020a1709028f8200b001945116c3e1mr5193412plo.24.1674005722058; Tue, 17 Jan 2023 17:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674005722; cv=none; d=google.com; s=arc-20160816; b=exnJf/4/JxcAT0SrvYdxENFeTPZj6YHBRmPiSRbZNz1reCVj3Jw4TmP0XtoT2WnvcD sxyezd41mouCqQGwj0INxIDhqe0z4vrBMDcuOEYaMmhW8UMzVt1X8RG9C+XiPt94xT98 8t5/Ad5BFImrQlfsfGoX6nTFjprrdXwhyVQsQOsultTigd/WgTVBaEEzEFEIQHr2aMWt twMIUyq7ID/ymyH2Vo4zavzpL7nVjZzO4HQJoW7oV0eR8xD8cCzDXq/63N/8UTSoph1e OxPjkl6NX5qrc9s6oFzn9tK922GHX3rm5Yqve39LI+7pGcUICPVNENw5d5bO4ow0gWlp 6kzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0iE+dsh4waSmkn1MEyVbCkXwl8Bzu8QOsUC82XsApoo=; b=q/uTgty3hxL7JV/7FiO+W9pbyBHprc+CekPYqHNGrcg6WkUL8p8u+VUvv/V4ZfXme6 72TkbFgxGWKXUhghwXbx4/CRHaV9RqRJ9PdpsYLyPRAspLntNpJuRod9CN1JX3ykphnz RW44tM5/tPqT5wOp0NYWtx2XClTlMINvkKh22pXJAUARHkDFPte1SQSEB9J6L37bVqlS w6MaiMJ62hG/Lcc5I9C3al87C9vBSWJ1INNRBHNubTXhzYmLkhqyVu8hMAkiDuQfjO5f 7Dt9SrRxDoUu2d/v2RO2Br5yeMjayyxhQsyjkwWZDz206L6A8SmBa94QZyp/VneAPsM7 GAnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="nhX1XkW/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h190-20020a6383c7000000b004ced78857a6si4248204pge.68.2023.01.17.17.35.16; Tue, 17 Jan 2023 17:35:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="nhX1XkW/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjARAsZ (ORCPT + 46 others); Tue, 17 Jan 2023 19:48:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbjARArW (ORCPT ); Tue, 17 Jan 2023 19:47:22 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1A6B1A944 for ; Tue, 17 Jan 2023 16:33:28 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id bj3so30939262pjb.0 for ; Tue, 17 Jan 2023 16:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0iE+dsh4waSmkn1MEyVbCkXwl8Bzu8QOsUC82XsApoo=; b=nhX1XkW/QhRJBX0p9KfNqzI69dq97378uAomMfbqO/sUnOOqkekQzxhYY6Wga3nRRB CguE7MqJXEndw2rnQ+hpif5cGc86PAgOmYHeP+1gpl3RZ9MD2zZBtrCaSKzZllsq6NCo +qNpJNTMZXMoAOgz1lQCJ8Sk6NQZ/d7Bvy+GQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0iE+dsh4waSmkn1MEyVbCkXwl8Bzu8QOsUC82XsApoo=; b=c4of8gLs96XhinTUsJZWos5pICIjE+QBGvFdnTRfcI/rciKubhJIo3n/Dtqtgdmxrs hqnPaV2YE3aLBnrlbOIMG8H8Z6Pr/5Np5r/wIXaGShPbHdUdwbYQc/AUCcoMjmgTEfH9 f+XYzyNP1OVj7veN4ujrPh1PDHpYb7g/ALStw3akCXx7X6CTNJTvkxExK0R+dg2ljuup 4WFFFoVU8MTDQL59aR+aNjMMrjkVr3K3briqO/D39RCuOOC9FyiNabvUgglhoNisHwJu I4N1wGPUMGQJLSXG5Ykd7MKNqKfV10aCPnkg8yRAleBBonEdkyESHM3jEzIF/VfhpwLs PGOg== X-Gm-Message-State: AFqh2krUkvrKibMJJy6as05APCElZxhRmrf2V6kw8rfCI7QN/VgvSEe4 gnf3807qOVh9BXJWwOdn4b+3Yw== X-Received: by 2002:a17:90a:5d87:b0:229:1fa9:6912 with SMTP id t7-20020a17090a5d8700b002291fa96912mr4798949pji.39.1674002008279; Tue, 17 Jan 2023 16:33:28 -0800 (PST) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id j23-20020a17090aeb1700b00219eefe47c7sm122235pjz.47.2023.01.17.16.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 16:33:27 -0800 (PST) Date: Wed, 18 Jan 2023 09:33:22 +0900 From: Sergey Senozhatsky To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , coverity-bot , "Gustavo A . R . Silva" , linux-next@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, coverity-bot Subject: Re: [PATCH] printk: Use scnprintf() to print the message about the dropped messages on a console Message-ID: References: <20230117161031.15499-1-pmladek@suse.com> <87r0vsq1cq.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r0vsq1cq.fsf@jogness.linutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (23/01/17 22:54), John Ogness wrote: > On 2023-01-17, Petr Mladek wrote: > > Reported-by: coverity-bot > > Addresses-Coverity-ID: 1530570 ("Memory - corruptions") > > Fixes: c4fcc617e148 ("printk: introduce console_prepend_dropped() for dropped messages") > > Link: https://lore.kernel.org/r/202301131544.D9E804CCD@keescook > > Signed-off-by: Petr Mladek > > Reviewed-by: John Ogness Reviewed-by: Sergey Senozhatsky