Commit Graph

1 Commits

Author SHA1 Message Date
Darren Kenny
a0b08bad3d 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>

Patch-Name: 2021-02-security/023-gnulib-regcomp-Fix-uninitialized-token-structure.patch
2021-02-27 14:47:25 +00:00