Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
mtr
mtr-0.75-sec_snprintf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtr-0.75-sec_snprintf.patch of Package mtr
Index: dns.c =================================================================== --- dns.c.orig +++ dns.c @@ -962,7 +962,7 @@ void resendrequest(struct resolve *rp,in } else if (type == T_PTR) { switch ( af ) { case AF_INET: - sprintf(tempstring,"%u.%u.%u.%u.in-addr.arpa", + snprintf(tempstring, sizeof(tempstring),"%u.%u.%u.%u.in-addr.arpa", ((byte *)&rp->ip)[3], ((byte *)&rp->ip)[2], ((byte *)&rp->ip)[1],
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