Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
glibc-testsuite
nscd-getservbyport.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nscd-getservbyport.patch of Package glibc-testsuite
2013-11-11 Andreas Schwab <schwab@suse.de> [BZ #16153] * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include terminating NUL in key length. Index: glibc-2.18/nscd/nscd_getserv_r.c =================================================================== --- glibc-2.18.orig/nscd/nscd_getserv_r.c +++ glibc-2.18/nscd/nscd_getserv_r.c @@ -54,7 +54,7 @@ __nscd_getservbyport_r (int port, const portstr[sizeof (portstr) - 1] = '\0'; char *cp = _itoa_word (port, portstr + sizeof (portstr) - 1, 10, 0); - return nscd_getserv_r (cp, portstr + sizeof (portstr) - cp, proto, + return nscd_getserv_r (cp, portstr + sizeof (portstr) - 1 - cp, proto, GETSERVBYPORT, result_buf, buf, buflen, result); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor