summaryrefslogtreecommitdiff
path: root/tests/test-mbrtoc32-w32-3.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-12-29 17:08:11 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-12-29 17:12:25 -0800
commit6a5be910cc575aa9f48bf0a31280f8a72e533063 (patch)
tree287c97486c85cbfc020131e3252bac17b5e9e0c9 /tests/test-mbrtoc32-w32-3.sh
parentb29d62dfaf8c55b18e9c8f30322a9bcde5255cb7 (diff)
downloadgnulib-6a5be910cc575aa9f48bf0a31280f8a72e533063.tar.gz
canonicalize: fix ptrdiff_t overflow bug
Problem reported by Adhemerval Zanella in: https://sourceware.org/pipermail/libc-alpha/2020-December/121182.html * lib/canonicalize-lgpl.c, lib/canonicalize.c: Include intprops.h. (NARROW_ADDRESSES): New constant. * lib/canonicalize-lgpl.c (realpath_stk):m * lib/canonicalize.c (canonicalize_filename_mode_stk): Work even if strlen (END) does not fit in idx_t, or if adding N to it overflows. * modules/canonicalize, modules/canonicalize-lgpl (Depends-on): Add intprops.
Diffstat (limited to 'tests/test-mbrtoc32-w32-3.sh')
0 files changed, 0 insertions, 0 deletions