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

2012-02-29 Thread Corinna Vinschen
On Feb 28 19:36, Yaakov (Cygwin/X) wrote: On Tue, 2012-02-28 at 11:24 +0100, Corinna Vinschen wrote: On Feb 28 03:43, Yaakov (Cygwin/X) wrote: 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

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

2012-02-28 Thread Corinna Vinschen
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

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

2012-02-28 Thread Yaakov (Cygwin/X)
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

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

2012-02-28 Thread Corinna Vinschen
On Feb 28 03:43, Yaakov (Cygwin/X) wrote: 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

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

2012-02-28 Thread Yaakov (Cygwin/X)
On Tue, 2012-02-28 at 11:24 +0100, Corinna Vinschen wrote: On Feb 28 03:43, Yaakov (Cygwin/X) wrote: 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

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

2012-02-27 Thread Roger K. Wells
On 02/27/2012 12:14 PM, Jim Reisert AD1C wrote: 'more' is segment faulting with the latest Cygwin .DLL (1.7.11). I can reproduce this problem on both a Windows 7 64-bit machine and a Windows XP 32-bit machine. I've attached the stackdump and cygcheck output. Here's how to reproduce the

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

2012-02-27 Thread Corinna Vinschen
On Feb 27 10:14, Jim Reisert AD1C wrote: 'more' is segment faulting with the latest Cygwin .DLL (1.7.11). I can reproduce this problem on both a Windows 7 64-bit machine and a Windows XP 32-bit machine. I've attached the stackdump and cygcheck output. Here's how to reproduce the problem:

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

2012-02-27 Thread Yaakov (Cygwin/X)
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. Yaakov -- Problem