Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool-SP2:x86_64
openSUSE:Backports:SLE-15-SP4
spew
fix-format-security.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-format-security.patch of Package spew
Index: spew-1.0.8/src/spew.cpp =================================================================== --- spew-1.0.8.orig/src/spew.cpp +++ spew-1.0.8/src/spew.cpp @@ -285,7 +285,7 @@ void help(poptContext &context) PATTERN_LOOKUP[Job::PATTERN_USER_DEFINED], PATTERN_LOOKUP[Job::PATTERN_USER_DEFINED], PATTERN_LOOKUP[DEFAULT_PATTERN]); - fprintf(stdout, outStr); + fprintf(stdout, "%s", outStr); fprintf(stdout, "\nReport bugs to Andrew Patterson <andrew.patterson@hp.com>.\n"); } Index: spew-1.0.8/src/SpewTuiStatisticsWindow.cpp =================================================================== --- spew-1.0.8.orig/src/SpewTuiStatisticsWindow.cpp +++ spew-1.0.8/src/SpewTuiStatisticsWindow.cpp @@ -278,7 +278,7 @@ void SpewTuiStatisticsWindow::updateTota ""); if (mSpewTui->getCurrentIteration() > 0) { - int len = snprintf(NULL, 0, (char *)mTotalRunTime.getElapsedTimeStr().c_str()); + int len = snprintf(NULL, 0, "%s", (char *)mTotalRunTime.getElapsedTimeStr().c_str()); mvwprintw(mWindow, RUNTIME_FIELD_STARTY, RUNTIME_FIELD_STARTX + RUNTIME_FIELD_WIDTH - len,
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