Re: [PWNED/DOSSED] Cygwin's setup-x86.exe loads and executes rogue DLL from its application directory

2016-01-08 Thread Eric Blake
[I got this mail via cc; I don't see the original in the mail archives, which means it probably got eaten by the spam trap for too many raw email addresses or other heuristics. I don't maintain cygwin.com, so I'm only commenting as a side observer here...] On 01/07/2016 02:59 PM, Stefan Kanthak w

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread Achim Gratz
john hood writes: > It appears I had not installed all the packages because I didn't have > the setup command line syntax right, and didn't know it. setup > apparently does not do any validation of its command line arguments: > > setup-x86.exe -M -P "docbook-xsl xmlto" > > fails to install any p

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread john hood
On 1/8/16 11:29 AM, Corinna Vinschen wrote: > On Jan 7 13:18, John Hood wrote: >> Sorry about forgetting the testcase (which was good, actually, that >> version had a bug). I've attached it here. This takes a single >> argument, the timeout value for select() in microseconds. A value of >> 1000

Re: Problem with named pipes

2016-01-08 Thread Corinna Vinschen
On Dec 25 16:39, Ken Brown wrote: > I've noticed a difference between Cygwin and Linux involving named pipes. I > don't know if this a bug or simply a difference. > > Consider the following two scripts: > > $ cat fifo1.sh > #!/bin/sh > set -x > rm -f foo > mkfifo foo > exec 7>foo > echo blah > f

RE: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread Andy Hall
> > On Jan 8 13:44, cyg Simple wrote: > > On 1/8/2016 6:14 AM, Corinna Vinschen wrote: > > > $ ./gai leapsecond.utcd.org > > > ret = 11004 > > > > > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > > > at all. > > > > utcd.org doesn't resolve for me. So getaddrinfo has n

Re: [PWNED/DOSSED] Cygwin's setup-x86.exe loads and executes rogue DLL from its application directory

2016-01-08 Thread Yaakov Selkowitz
On 2016-01-06 08:17, Stefan Kanthak wrote: [snip] I am analyzing this and working on a response, which I hope to have early next week. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc

Re: Cannot Run Executable Files

2016-01-08 Thread Warren Young
On Jan 7, 2016, at 7:14 PM, Zac G. Al Wakeel wrote: > > Thank you Warren, it worked. But what would you suggest for future? I can't > leave the machine without antivirus For the archives, would you say which software was causing the problem? -- Problem reports: http://cygwin.com/problems

Re: Cannot Run Executable Files

2016-01-08 Thread Warren Young
On Jan 7, 2016, at 9:59 PM, Yaakov Selkowitz wrote: > > On 2016-01-07 20:14, Zac G. Al Wakeel wrote: >> Thank you Warren, it worked. But what would you suggest for future? I can't >> leave the machine without antivirus > > Start by choosing one NOT on this list: > > https://cygwin.com/faq/faq.h

Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread Stephen John Smoogen
On 8 January 2016 at 11:44, cyg Simple wrote: > On 1/8/2016 6:14 AM, Corinna Vinschen wrote: >> $ ./gai leapsecond.utcd.org >> ret = 11004 >> >> I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org >> at all. > > utcd.org doesn't resolve for me. So getaddrinfo has no info to get.

Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread Corinna Vinschen
On Jan 8 13:44, cyg Simple wrote: > On 1/8/2016 6:14 AM, Corinna Vinschen wrote: > > $ ./gai leapsecond.utcd.org > > ret = 11004 > > > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > > at all. > > utcd.org doesn't resolve for me. So getaddrinfo has no info to get. Why

Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread cyg Simple
On 1/8/2016 6:14 AM, Corinna Vinschen wrote: > $ ./gai leapsecond.utcd.org > ret = 11004 > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > at all. utcd.org doesn't resolve for me. So getaddrinfo has no info to get. -- cyg Simple -- Problem reports: http://cygwi

Re: Pipes Again -- a simple test case

2016-01-08 Thread Corinna Vinschen
On Jan 8 17:12, Houder wrote: > On 2016-01-08 16:19, Corinna Vinschen wrote: > >On Jan 4 10:24, Houder wrote: > >>On 2016-01-04 09:52, Marco Atzeri wrote: > >>>On 04/01/2016 09:03, Houder wrote: > Hi Corinna, > > I have been looking for an STC to show why cmp fails on Cygwin (and to

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread Corinna Vinschen
On Jan 7 13:18, John Hood wrote: > Sorry about forgetting the testcase (which was good, actually, that > version had a bug). I've attached it here. This takes a single > argument, the timeout value for select() in microseconds. A value of > 100 is fine for testing this issue. Type at it, o

Re: Pipes Again -- a simple test case

2016-01-08 Thread Houder
On 2016-01-08 16:19, Corinna Vinschen wrote: On Jan 4 10:24, Houder wrote: On 2016-01-04 09:52, Marco Atzeri wrote: >On 04/01/2016 09:03, Houder wrote: >>Hi Corinna, >> >>I have been looking for an STC to show why cmp fails on Cygwin (and to >>show the >>difference between Cygwin and Linux). >>

Re: Pipes Again -- a simple test case

2016-01-08 Thread Corinna Vinschen
On Jan 4 10:24, Houder wrote: > On 2016-01-04 09:52, Marco Atzeri wrote: > >On 04/01/2016 09:03, Houder wrote: > >>Hi Corinna, > >> > >>I have been looking for an STC to show why cmp fails on Cygwin (and to > >>show the > >>difference between Cygwin and Linux). > >> > >>The STC below creates a pip

Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records

2016-01-08 Thread Corinna Vinschen
Hi Brian, On Jan 7 15:39, Brian Inglis wrote: > getaddrinfo fails with err 7 EAI_NODATA for some valid hosts with A records. > Err 7 EAI_NODATA is mapped from WSANO_DATA err 11004 in Windows. > Can anyone reproduce failure with problem host name below? Yes, I can reproduce it, and it's a total