summaryrefslogtreecommitdiff
path: root/src/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.c')
-rw-r--r--src/expand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expand.c b/src/expand.c
index bf857b0e4..b1b100422 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -172,6 +172,7 @@ parse_tab_stops (char const *stops)
num_start = stops;
}
+ /* Detect overflow. */
if (!DECIMAL_DIGIT_ACCUMULATE (tabval, *stops - '0', uintmax_t))
{
size_t len = strspn (num_start, "0123456789");