expand: check for colno overflow
commit7572abed94323f0d566a531e8efba7793602ea3a
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 7 Nov 2024 20:51:04 +0000 (7 12:51 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Nov 2024 07:41:18 +0000 (8 23:41 -0800)
treef818eae32006382654e8fd4250a9cea61b9e1b06
parentb857d66b51e34568b4fdab07053433df1413243b
expand: check for colno overflow

* src/expand-common.c (get_next_tab_column): Check for tab
stop overflow here.  All callers changed to not check.
* src/expand.c (expand): Use colno for column number.
src/expand-common.c
src/expand.c
src/unexpand.c