Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5529608rwb; Tue, 17 Jan 2023 15:15:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXuCOD9RC9gyb/LIqHS0UaxrB5cv18VQ3KH/ZH5GVaKVBVhHQ5oHdf4uzHe13wgfHl0HpOkb X-Received: by 2002:a17:90a:690c:b0:227:1745:3478 with SMTP id r12-20020a17090a690c00b0022717453478mr4718264pjj.30.1673997341145; Tue, 17 Jan 2023 15:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673997341; cv=none; d=google.com; s=arc-20160816; b=SVxyfx1/9TOrvvNO30/C4oUP5ws+8XE5FREdxZdokPjts0xQUEORuRJZyWP71ZFx90 iktQbDcc8XWqMoPBzmMX0tAc+3PqfFS+bdJVCj2NVwbkbt+Ny8NPLpRUiCFM8rhIQLP3 PGLjJA0gzStmeJ7o4HSL0lR0DT52U+HWLTZZpsQXDkowrnUfJMLKN23X6X0Kb0fhkxNx /Wb3FTnfCpLqj7yx7/GzZXbnnBxGdZXjKESn1PwaY+MKB9NV5cHAyPMM0dLv85MRqt15 oMXbWJM28J2/iReikh4noLj+s5dpZlgZXAFBA+K80hhd5BLDq1p3HbBb0XXQIfFouuMB OOUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=0EySvKf7KDIdxXLtAWjoJUjTf/tsFhH8nu8922rYbz4=; b=OPsM3XsNGJqWS+Th4+So4i0vKwuw59gMg4BHPC+I++skH+w03JieTMVnhHo8uKrzpA YaqKGZ98Q+6qC2jNs2kSLZdlj6RJoqq4OiorWd5jnuS3VQQDIcoeVsjp3fVTku4dYux9 kUxDiqkkWXqFWYJqE5vDJtaUYt2AalHXUpN0BjhQEe3i7RrfocFTLoC7NH7rhIJIRdMt 43NYXiwdqHNqyy3wqJJscbHsCW7cTbyxjgUpzwfejTsrtWsEIJUy/Z4cUhx3kAZ4VLef mGV/CYhkFMRPb4bpEmWn45Gr2OD/CvYKFDtxmD37NARfuZf3IP5OUolgzQBLwdQP2Ta3 X7Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=zlhaEqb4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lr18-20020a17090b4b9200b00229b568de13si240992pjb.10.2023.01.17.15.15.35; Tue, 17 Jan 2023 15:15:41 -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=@linutronix.de header.s=2020 header.b=zlhaEqb4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbjAQWrG (ORCPT + 48 others); Tue, 17 Jan 2023 17:47:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjAQWqA (ORCPT ); Tue, 17 Jan 2023 17:46:00 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31D5BC171; Tue, 17 Jan 2023 13:49:13 -0800 (PST) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673992151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0EySvKf7KDIdxXLtAWjoJUjTf/tsFhH8nu8922rYbz4=; b=zlhaEqb4TYh2ZRuBkbkaFUODzaJzybzmp94wrNZ2DHgN3LcfnjQwxzMVr0K0pQuCafVpwt 0gcfgOfsw042jRYHA7Gsv1zcIYQU24zntAiBeFj83PPNAU7juwuMfg7xj4SDVl3+m0OkZ8 Jrkq2iyAZh9Zn6UthxWqpfwswXoXULsL1lHVSPQrYc+AyupkKB1Ep0Pd4pZpng2DdTd1Yp c13bWY8n/h89FHupOwCiSiFBY1wZwMB0ZdApku7YMvAewUrOD+ztr1MAaBnF3ej/1DBEzC r/rtcoo9Nse+0nyLvYpXr5waDphf+Q1yB9HmZoAQobnZ4laAKbdWTmHvuT1aMw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673992151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0EySvKf7KDIdxXLtAWjoJUjTf/tsFhH8nu8922rYbz4=; b=YnRV+X6yqAJ6pyt3ZIY4niaQaGvNztmiXlWVgf6Ql8uakG1IC9gh+YResQ8mxBagzHX6oR 2CgS9YvOqsstl/Cw== To: Petr Mladek Cc: 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, Petr Mladek , coverity-bot Subject: Re: [PATCH] printk: Use scnprintf() to print the message about the dropped messages on a console In-Reply-To: <20230117161031.15499-1-pmladek@suse.com> References: <20230117161031.15499-1-pmladek@suse.com> Date: Tue, 17 Jan 2023 22:54:21 +0106 Message-ID: <87r0vsq1cq.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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