diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/lex.c | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2015-03-05 Peter Stephenson <p.stephenson@samsung.com> + * 34651: Src/lex.c: avoid core dump if no lexical token. + * Daniel Shahaf: 34647: Completion/Zsh/Function/_add-zsh-hook: new completion. @@ -1735,6 +1735,9 @@ checkalias(void) { Alias an; + if (!zshlextext) + return 0; + if (!noaliases && isset(ALIASESOPT) && (!isset(POSIXALIASES) || !reswdtab->getnode(reswdtab, zshlextext))) { |