Change #237962
Category | gcoreutils |
Changed by | Paul Eggert <eggert | @cs.ucla.edu>
Changed at | Sun 29 Jun 2025 06:00:41 |
Repository | git://git.savannah.gnu.org/coreutils.git |
Project | gcoreutils |
Branch | master |
Revision | 35d9bf6915bff5d88dd2246ae5a157db838c64f1 |
Comments
od: prefer idx_t to size_t This helps find overflow bugs when compiling with -fsanitize=undefined. * src/od.c (struct tspec, bytes_per_block, PRINT_FIELDS) (PRINT_TYPE, print_named_ascii, print_ascii, decode_one_format) (skip, write_block, read_block, dump, main): Use idx_t, not size_t.
Changed files
- src/od.c