From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE4A8C433DB for ; Sun, 27 Dec 2020 15:04:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B375122512 for ; Sun, 27 Dec 2020 15:04:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbgL0PAX (ORCPT ); Sun, 27 Dec 2020 10:00:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:54388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbgL0PAW (ORCPT ); Sun, 27 Dec 2020 10:00:22 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 60E9020867; Sun, 27 Dec 2020 14:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609081181; bh=ZrFLsZfNoljHxg18KYAT61yF3cWJKpnoQLwPfqWvqTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mP0X1/5Wz0ylJ43FfrIDN84YO1BWuS7NCnGiJPtx2/9yhwpU7vXQQWtT3k73hui+K I2CZyWej+sOnWw5NVxCL2129QT+vFNSzmhiRVbbLmJMVk5dBngQmzZJ8AQw2ulLyFg FjMoml6ShEj/YnrXQW7evdBDNq/msJ6f/qwTlKPk= Date: Sun, 27 Dec 2020 16:01:05 +0100 From: Greg KH To: Defang Bo Cc: jason.wessel@windriver.com, daniel.thompson@linaro.org, arnd@arndb.de, dianders@chromium.org, kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kgdbts: Passing ekgdbts to command line causes panic Message-ID: References: <1609076585-4010725-1-git-send-email-bodefang@126.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1609076585-4010725-1-git-send-email-bodefang@126.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 27, 2020 at 09:43:05PM +0800, Defang Bo wrote: > Similar to commit<1bd54d85>,kgdbts_option_setup does not check input argument > before passing it to strlen. The argument would be a NULL pointer. > As per the documentation, you should write commits out as 1bd54d851f50 ("kgdboc: Passing ekgdboc to command line causes panic"). Can you fix that up and resend this? thanks, greg k-h