https://bugzilla.novell.com/show_bug.cgi?id=849719 https://bugzilla.novell.com/show_bug.cgi?id=849719#c0 Summary: getnameinfo and getservbyport return wrong service name for port 513 Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: asn@cryptomilk.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=566769) --> (http://bugzilla.novell.com/attachment.cgi?id=566769) Test showing the bug. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 getnameinfo() and getservbyport() return wrong service name for port 513. asn@magrathea:~> gcc test_getnameinfo.c asn@magrathea:~> ./a.out getnameinfo: Invalid service name returned for UPD port 513: 'login' (should be 'who') getservbyport: Invalid service name returned for UPD port 513: 'login' (should be 'who') asn@magrathea:~> grep "513/udp" /etc/services who 513/udp # maintains data bases showing who's logged in to machines on a local net and the load average of the machine Reproducible: Always Steps to Reproduce: 1. gcc test_getnameinfo.c 2. ./a.out -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.