summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-11-26 00:19:08 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-11-26 00:20:26 -0800
commitb7f3a3055c92010afde318c1108b02e4424a3bac (patch)
tree87c216fe495dc9fb716a5c05759911b746a29657 /src/bytecode.c
parentcaec5c06caa854a5e9d2001bd8ef7199a0b7540c (diff)
downloademacs-b7f3a3055c92010afde318c1108b02e4424a3bac.tar.gz
Don't access pointers to freed storage in regex.c
Remove __BOUNDED_POINTERS__ code, which does not work with -fcheck-pointer-bound and which has undefined behavior anyway. Problem found when trying to port to gcc -fcheck-pointer-bounds. (This code was removed from glibc and gnulib regex.c many years ago.) * src/regex.c (ELSE_EXTEND_BUFFER_HIGH_BOUND): Remove. (EXTEND_BUFFER): Use a more-portable approach that avoids undefined behavior due to inspecting pointers to freed storage.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions