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.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 4DF99C43218 for ; Sun, 28 Apr 2019 19:11:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 26C1C2067C for ; Sun, 28 Apr 2019 19:11:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727211AbfD1TLU (ORCPT ); Sun, 28 Apr 2019 15:11:20 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:47352 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726447AbfD1TLU (ORCPT ); Sun, 28 Apr 2019 15:11:20 -0400 Received: from callcc.thunk.org (75-104-85-194.mobility.exede.net [75.104.85.194] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x3SJB9oR003477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Apr 2019 15:11:15 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 8B81B420023; Sun, 28 Apr 2019 15:11:08 -0400 (EDT) Date: Sun, 28 Apr 2019 15:11:08 -0400 From: "Theodore Ts'o" To: Gabriel Krisman Bertazi Cc: linux-ext4@vger.kernel.org Subject: Re: [PATCH e2fsprogs 04/10] ext2fs: nls: Fix potential null dereference in utf8nlookup Message-ID: <20190428191108.GI24089@mit.edu> References: <20190413054317.7388-1-krisman@collabora.com> <20190413054317.7388-5-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190413054317.7388-5-krisman@collabora.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, Apr 13, 2019 at 01:43:11AM -0400, Gabriel Krisman Bertazi wrote: > Delay the access of data->offset until after the null check. This was > reported by 0-day on the kernel version of the script. > > Signed-off-by: Gabriel Krisman Bertazi Applied, thanks. - Ted