mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-21 09:00:38 +00:00
* gnulib.modules: Add reallocarray. * lib/wordsplit.c: Include stdckdint.h. (ISDELIM, expvar, isglob, scan_word): Defend against strchr (s, 0) always succeeding. (alloc_space, wsplit_assign_vars): Fix some unlikely integer overflows, partly by using reallocarray. (alloc_space): Avoid quadratic worst-case behavior. (isglob): Return bool, not int. Accept size_t, not int. (to_num): Remove; no longer used. (xtonum): Clarify the code the bit. Rely on portable conversion to unsigned char rather than problematic pointer cast.