projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported from ../bash-3.2.48.tar.gz.
[platform/upstream/bash.git]
/
lib
/
readline
/
readline.c
diff --git
a/lib/readline/readline.c
b/lib/readline/readline.c
index
c2b7400
..
bd4d263
100644
(file)
--- a/
lib/readline/readline.c
+++ b/
lib/readline/readline.c
@@
-645,6
+645,11
@@
_rl_dispatch_callback (cxt)
if ((cxt->flags & KSEQ_DISPATCHED) == 0)
{
nkey = _rl_subseq_getchar (cxt->okey);
+ if (nkey < 0)
+ {
+ _rl_abort_internal ();
+ return -1;
+ }
r = _rl_dispatch_subseq (nkey, cxt->dmap, cxt->subseq_arg);
cxt->flags |= KSEQ_DISPATCHED;
}