[Bug 261679] libc/locale/xlocale.c: potential NULL pointer dereference in alloc_locale()

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Feb 2022 02:50:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261679

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b68522308d1e0b19c00d82c13878a693fc2ef2df

commit b68522308d1e0b19c00d82c13878a693fc2ef2df
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-02-02 17:24:42 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-02-03 01:02:58 +0000

    xlocale.c: check for allocation failure

    PR:     261679
    Reported by:    phil.stone@gmx.com
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D34140

 lib/libc/locale/xlocale.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.