From ccfc44806dfd0a5cbc18fa89831ec81ce23f3582 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 27 Jul 2004 16:45:46 +0000 Subject: Felipe Kellermann noticed a missing `break'. --- libbb/process_escape_sequence.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbb/process_escape_sequence.c b/libbb/process_escape_sequence.c index e6b5fc9..9b57ff9 100644 --- a/libbb/process_escape_sequence.c +++ b/libbb/process_escape_sequence.c @@ -52,6 +52,8 @@ char bb_process_escape_sequence(const char **ptr) r = n * 16 + hextobin(*q); } else if (isodigit(*q)) { r = n * 8 + octtobin(*q); + } else { + break; } if (r <= UCHAR_MAX) { n = r; -- cgit v1.1