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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 24274C433EF for ; Sat, 25 Jun 2022 07:10:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1F17084476; Sat, 25 Jun 2022 09:10:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1656141010; bh=i/61WOdvNoYRD7UmHroqUYt5gweEih1XJczph71s7tU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VGGoIvkwo7xOVCYwlWmkZeXmHoIWxOgCm26rhoX898VvbeNv/rHs50ZuIqtyefCvg jpAvxaOqB21PygbqqjwPhU2cfgQmgQm1sLy90WZWLGJobdq0z9Aa6oozRcMOtWO4RM sdXnqzrJWgVgKE7O9R8FyLO6Rp6qd6MFemy1VFnxwNsWRWIfhOskqf0aytpUYLOU0T PLSYWRwvIQEXgRUmO+IFKGcprmZyPS+PaTrunyjqHUF+d2UU0KBe06qRm/IcLGUU5J wqwM8hcVeCi7ZB5pFbJwj5j+ANfCKrXoZkkRZijJ6RfRow3SmWi+fw+8y/8nzLAIx8 pDs3Vy89+SrHQ== Received: from crub (p54833d91.dip0.t-ipconnect.de [84.131.61.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 1DDB284474; Sat, 25 Jun 2022 09:10:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1656141008; bh=i/61WOdvNoYRD7UmHroqUYt5gweEih1XJczph71s7tU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sNDlGSTRUedy0uzvzTpNfhjSemWVSoPICDvHLHesXb8kR3fGynHEYO7Cb8r4C87By bIB+Tunm16I5Ti5EYJpMU7PMKBk9BrE62GEvODxpclO/fvbhXDEPR3VIxrSUsTVvvN FrFxy15wZ59YAeAGW1gbdDWAhPAPaVOd3njIf0v0q42Ew5zrJ/BD1E0hTk+BA0c3+z sX/PquOPJRF7skCMpm9l94+l1PdqSgYZUgQozFDHOawxn8q3p7OOb4vf3JHUQJGYj+ CFv+jvym/Xt9LbTjT7tjqe0Drw6QQNPToRQoHZnH4aK7PHY1w1NwGhJmbaL2rpaLED JFGEvujF9lhuQ== Date: Sat, 25 Jun 2022 09:10:07 +0200 From: Anatolij Gustschin To: Bin Meng Cc: u-boot@lists.denx.de Subject: Re: [PATCH] driver: video: Check allocated pointers Message-ID: <20220625091007.4f6b9a8e@crub> In-Reply-To: <20220518053618.2638799-1-bmeng.cn@gmail.com> References: <20220518053618.2638799-1-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Wed, 18 May 2022 13:36:18 +0800 Bin Meng bmeng.cn@gmail.com wrote: > The codes that call STBTT_malloc() / stbtt__new_active() do not check > the return value at present which may cause segfault. > > Signed-off-by: Bin Meng > --- > > drivers/video/stb_truetype.h | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) applied to u-boot-video/master, thanks! -- Anatolij