Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
maelstrom
maelstrom-3.0.6-netscore.cpp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maelstrom-3.0.6-netscore.cpp.patch of Package maelstrom
--- netscore.cpp.orig 2001-07-23 05:25:17.000000000 +0200 +++ netscore.cpp 2014-09-28 13:54:05.456466282 +0200 @@ -59,7 +59,7 @@ /* Send the scores */ crc = get_checksum(key, KEY_LEN); - sprintf(netbuf, SCOREFMT, crc, high.name, high.score, high.wave); + snprintf(netbuf, sizeof(netbuf), SCOREFMT, crc, high.name, high.score, high.wave); SDLNet_TCP_Send(remote, netbuf, strlen(netbuf)); n = SDLNet_TCP_Recv(remote, netbuf, 1024); if ( n > 0 ) {
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