diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-09 17:30:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-09 18:34:04 -0700 |
commit | 32915b2a8a43825720755113bdffe9f67a591748 (patch) | |
tree | 1ea61e21efd3ddbc24cc3b0c27a2b004021e67da /config | |
parent | 1eb7b25df1976fa852ddd7ea0ae26ec670146ce7 (diff) | |
download | gnulib-32915b2a8a43825720755113bdffe9f67a591748.tar.gz |
regex: avoid copying of uninitialized storage
* config/srclist.txt: Comment out regcomp.c temporarily.
* lib/regcomp.c (build_charclass_op, create_tree) [! (GCC_LINT||lint)]:
Initialize even when not checking for lint, as the behavior is
arguably undefined otherwise and Coverity warns about it.
Diffstat (limited to 'config')
-rw-r--r-- | config/srclist.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/srclist.txt b/config/srclist.txt index 4a3a5a7af0..bceaee8631 100644 --- a/config/srclist.txt +++ b/config/srclist.txt @@ -52,7 +52,7 @@ $LIBCSRC malloc/scratch_buffer_grow_preserve.c lib/malloc $LIBCSRC malloc/scratch_buffer_set_array_size.c lib/malloc # Temporarily newer in Gnulib than in glibc. #$LIBCSRC include/intprops.h lib -$LIBCSRC posix/regcomp.c lib +#$LIBCSRC posix/regcomp.c lib $LIBCSRC posix/regex.c lib $LIBCSRC posix/regex.h lib $LIBCSRC posix/regex_internal.c lib |