summary refs log tree commit diff
path: root/wcsmbs/wcstoul_l.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-08-25 20:34:34 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-08-25 20:34:34 -0700
commitbc680b336971305cb39896b30d72dc7101b62242 (patch)
tree2de1e3a1aa1fca98cc1abaac30816ceb4267f262 /wcsmbs/wcstoul_l.c
parent02458a5236c245929c6235853c8ff7c92f38d737 (diff)
downloadglibc-bc680b336971305cb39896b30d72dc7101b62242.tar.gz
glibc-bc680b336971305cb39896b30d72dc7101b62242.tar.xz
glibc-bc680b336971305cb39896b30d72dc7101b62242.zip
regex: fix uninitialized memory access
I introduced this bug into gnulib in commit
8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
eventually it was merged into glibc.  The bug was found by
project-repo <bugs@feusi.co> and reported here:
https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
Diagnosis and draft fix reported by Assaf Gordon here:
https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
* posix/regex_internal.c (build_wcs_upper_buffer):
Fix bug when mbrtowc returns 0.
Diffstat (limited to 'wcsmbs/wcstoul_l.c')
0 files changed, 0 insertions, 0 deletions