Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.2.0 dumping core on completion attempt



Oliver Kiddle wrote:
> I wrote:
> > 
> > We've got o->word == "xmmap", n->word == NULL and o->wlen == n->wlen.
> > So it might be a bug elsewhere that allows n->word == NULL or it might
> > be an omission that it isn't checked. Presumably n->wlen == 0 but is
> > that a length or an initial value?
> 
> Sorry, we can of course see that n->word == 1. So we need to work out
> how we got n->word == NULL and n->wlen == 1 before it got to
> cmp_anchors().

I fixed a bug of a similar flavour recently where the Meta conversion
was causing problems.  It's possible the wlen comes from trying to
metafy a zero-length string, or something.

pws


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author