Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
WindowMaker-applets
wmNetscapeKiller-0.3.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wmNetscapeKiller-0.3.dif of Package WindowMaker-applets
--- wmNetscapeKiller.c +++ wmNetscapeKiller.c @@ -64,15 +64,15 @@ // Getionnaire evenement bouton souris void DoButtonPress() { int retour ; - char* command; - sprintf(command,"killall -9 %s",prog_victim) ; + char command[1024]; + snprintf(command,1024,"killall -9 %s",prog_victim) ; retour = system(command) ; // retour = system("killall -12 netscape") ; if(retour!= -1 && retour != 127 && retour != 256 && restart == TRUE) { nXPM = KILLED_XPM ; DoExpose() ; - sprintf(command,"%s&",prog_victim) ; + snprintf(command,1024,"%s&",prog_victim) ; system(command) ; } 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