Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:efellows
zookeeper
zookeeper-rhel9-3.4.10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zookeeper-rhel9-3.4.10.patch of Package zookeeper
--- a/src/c/src/zookeeper.c 2017-03-23 11:14:59.000000000 +0100 +++ b/src/c/src/zookeeper.c 2023-05-07 23:27:27.313611119 +0200 @@ -3466,7 +3466,10 @@ sprintf(buf,"%s:%d",addrstring,ntohs(port)); #else inet_ntop(ep->ss_family,inaddr,addrstr,sizeof(addrstr)-1); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-overflow" sprintf(buf,"%s:%d",addrstr,ntohs(port)); +#pragma GCC diagnostic pop #endif return buf; } --- a/src/c/src/cli.c 2017-03-23 11:14:59.000000000 +0100 +++ b/src/c/src/cli.c 2023-05-07 23:35:18.296813972 +0200 @@ -556,7 +556,10 @@ sizeof(cmd)); return 2; } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-truncation" strncpy(cmd, argv[2]+4, sizeof(cmd)); +#pragma GCC diagnostic pop batchMode=1; fprintf(stderr,"Batch mode: %s\n",cmd); }else{
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