Files
tar/lib
Paul Eggert f22b9fe3ce maint: fix some unlikely wordsplit overflows
* 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.
2024-08-04 01:41:42 -07:00
..
2024-07-26 21:56:20 -07:00
2024-01-01 19:08:46 -08:00
2024-07-26 21:56:20 -07:00
2021-06-01 18:54:07 +03:00
2024-01-01 19:08:46 -08:00
2024-01-01 19:08:46 -08:00