Projects
Eulaceura:Factory
libsmi
_service:obs_scm:libsmi-0.4.8-format-security-f...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:libsmi-0.4.8-format-security-fix.patch of Package libsmi
diff -up libsmi-0.4.8/tools/dump-tree.c.format-security libsmi-0.4.8/tools/dump-tree.c --- libsmi-0.4.8/tools/dump-tree.c.format-security 2013-12-03 13:57:07.138165398 -0500 +++ libsmi-0.4.8/tools/dump-tree.c 2013-12-03 13:57:29.024137637 -0500 @@ -117,7 +117,7 @@ static void fprintIndex(FILE *f, SmiNode smiElement; smiElement = smiGetNextElement(smiElement), i++) { if (i > 0) fprintf(f, ","); if (indexname) { - fprintf(f, indexname); + fprintf(f, "%s", indexname); } indexname = smiGetElementNode(smiElement)->name; } @@ -143,7 +143,7 @@ static void fprintObjects(FILE *f, SmiNo smiElement = smiGetNextElement(smiElement), i++) { if (i > 0) fprintf(f, ","); if (objectname) { - fprintf(f, objectname); + fprintf(f, "%s", objectname); } objectname = smiGetElementNode(smiElement)->name; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2