[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190428132126.GB24089@mit.edu>
Date: Sun, 28 Apr 2019 09:21:26 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Gabriel Krisman Bertazi <krisman@...labora.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Olaf Weber <olaf@....com>,
Gabriel Krisman Bertazi <krisman@...labora.co.uk>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Colin King <colin.king@...onical.com>,
kernel-janitors@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] unicode: fix dereference of a potentially null
pointer
On Sun, Apr 28, 2019 at 07:02:45AM -0400, Gabriel Krisman Bertazi wrote:
> > On Sat, Apr 27, 2019 at 7:22 AM Colin King <colin.king@...onical.com> wrote:
> >>
> >> From: Colin Ian King <colin.king@...onical.com>
> >>
> >> The pointer 'tree' is deferenced when assigning pointer 'trie', however
> >> trie is being null checked a few lines later, so it could potentially
> >> be null. Fix the potential null pointer dereference by only dereferencing
> >> it after it has been null checked.
> >>
> >> Addresses-Coverity: ("Dereference before null check")
> >> Fixes: b08fcacaaaf4 ("unicode: introduce UTF-8 character database")
> >> Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> Acked-by: Gabriel Krisman Bertazi <krisman@...labora.com>
>
> Ted, can you pick this up directly for now?
Ack, I've merged it into the the patch "unicode: introduce UTF-8
character database".
- Ted
Powered by blists - more mailing lists