summaryrefslogtreecommitdiff
path: root/libbb/process_escape_sequence.c
diff options
context:
space:
mode:
authorEric Andersen2004-07-27 16:45:46 +0000
committerEric Andersen2004-07-27 16:45:46 +0000
commitccfc44806dfd0a5cbc18fa89831ec81ce23f3582 (patch)
tree693ae38f1be111e450f4951fcb0471dd25f09e8c /libbb/process_escape_sequence.c
parent9768a65eb4b8ec7d3f18a856e34ba3b37816f2ce (diff)
downloadbusybox-ccfc44806dfd0a5cbc18fa89831ec81ce23f3582.zip
busybox-ccfc44806dfd0a5cbc18fa89831ec81ce23f3582.tar.gz
Felipe Kellermann noticed a missing `break'.
Diffstat (limited to 'libbb/process_escape_sequence.c')
-rw-r--r--libbb/process_escape_sequence.c2
1 files changed, 2 insertions, 0 deletions
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;