This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'more' segment faults with latest cygwin1.dll (1.7.11)


On Tue, 2012-02-28 at 09:18 +0100, Corinna Vinschen wrote:
> 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.

Yes, I had to patch more(1) to use regcomp/regexec instead of
re_comp/re_exec, which we don't have on Cygwin.  With your clarification
I should be able to fix it easily.


Yaakov



--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]