Hi,

we've found two regressions in ksh.



1) bug present since 2011-04-28:

ksh -c 'cd..'

any time you use '..' in variable name, it crashes.



2) bug present since 2010-07-01:

reproducer 1:
without emacs/vi type "#comment" when you hit 'c' it crashes

reproducer 2:
set -o emacs
#comment
<ctrl-r>com<enter>   OR   <up>

both crash in edit/edit.c:1737:sh_histgen(...)

        ep->hlist = (Histmatch_t**)argv;
        ep->hfirst = ep->hlist[0];

where argv is just some memory garbage, probably missing all conditions in sh_histgen

Michal
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to