]> git.ipfire.org Git - thirdparty/grub.git/commit
gnulib/regcomp: Fix uninitialized token structure
authorDarren Kenny <darren.kenny@oracle.com>
Thu, 22 Oct 2020 13:54:06 +0000 (13:54 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Mar 2021 14:54:16 +0000 (15:54 +0100)
commit75c3d3cec4f408848f575d6d5e30a95bd6313db0
treede2d00ce87600ad04ef7e655ffc1335e5b4026db
parenta983d36bd9178d377d2072fd4b11c635fdc404b4
gnulib/regcomp: Fix uninitialized token structure

The code is assuming that the value of br_token.constraint was
initialized to zero when it wasn't.

While some compilers will ensure that, not all do, so it is better to
fix this explicitly than leave it to chance.

Fixes: CID 73749
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
bootstrap.conf
conf/Makefile.extra-dist
grub-core/lib/gnulib-patches/fix-uninit-structure.patch [new file with mode: 0644]