This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 'more' segment faults with latest cygwin1.dll (1.7.11)
On Feb 27 17:22, Yaakov (Cygwin/X) wrote:
> On Mon, 2012-02-27 at 20:59 +0100, Corinna Vinschen wrote:
> > I can reproduce it as well, but the crash occurs in the application,
> > not in Cygwin. Yaakov, this is from the util-linux package, can you
> > please have a look what happens there?
>
> Yes, it's already on my todo list.
It's a bug in more, afaics. In case of pressing 'n', the search function
is called with a NULL buf argument. However, the function calls
strlen(buf) without checking buf for NULL. The indentation at this
point in the file looks like this `if (strlen(buf) > 0) {' has been
added as a kind of patch.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple