diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-28 21:54:28 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-08-28 21:54:28 +0200 |
commit | 58559f14437d2aa71753a29fed435efa06aa4576 (patch) | |
tree | 60a9a7e3458a59fa78b9f05faf752ee2cf3630e6 /sysdeps/unix/sysv/linux/spawni.c | |
parent | aa8a3e4cdef20c50cb20f008864fff05cbfbdf29 (diff) | |
download | glibc-58559f14437d2aa71753a29fed435efa06aa4576.tar glibc-58559f14437d2aa71753a29fed435efa06aa4576.tar.gz glibc-58559f14437d2aa71753a29fed435efa06aa4576.tar.bz2 glibc-58559f14437d2aa71753a29fed435efa06aa4576.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.
(cherry picked from commit bc680b336971305cb39896b30d72dc7101b62242)
Diffstat (limited to 'sysdeps/unix/sysv/linux/spawni.c')
0 files changed, 0 insertions, 0 deletions