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@xxxxxxxxxxxxx> wrote: > >> > >> From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > >> > >> 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@xxxxxxxxxxxxx> > > Acked-by: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx> > > 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