getent services enumeration glitch

Mark Geisert mark@maxrnd.com
Tue Aug 18 23:43:00 GMT 2015


Buchbinder, Barry writes:
> Corinna Vinschen sent the following at Tuesday, August 18, 2015 7:24 AM
> >On Aug 18 09:40, Mark Geisert wrote:
> >Congratulations! You found a 13 years old bug in Cygwin's getservent
> >implementation, which returned the port number in host byte order
> >instead of in network byte order for all this time. Makes me wonder how
> >often getservent is used in the wild...
> 
> Not that I know what getent is, let alone having ever used it, shouldn't
> finding a bug that old merit a gold star?

Oh, please no.  A tin star if you must.  Let's keep gold stars for folks
doing the heavy lifting around here.

..mark


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



More information about the Cygwin mailing list