projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9768a65
)
Felipe Kellermann noticed a missing `break'.
author
Eric Andersen
<andersen@codepoet.org>
Tue, 27 Jul 2004 16:45:46 +0000
(16:45 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 27 Jul 2004 16:45:46 +0000
(16:45 -0000)
libbb/process_escape_sequence.c
patch
|
blob
|
history
diff --git
a/libbb/process_escape_sequence.c
b/libbb/process_escape_sequence.c
index e6b5fc99550c8b2fad6729b20949ebcb5f6a3f97..9b57ff99e996df3d88d58f058ff9249f9b520d9e 100644
(file)
--- 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;