Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 910191 Details for
Bug 1037206
mot-adms FTBFS if "-Werror=format-security" flag is used
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for -Werror=format-security
mot-adms-format-security.patch (text/plain), 498 bytes, created by
Yaakov Selkowitz
on 2014-06-18 23:43:28 UTC
(
hide
)
Description:
patch for -Werror=format-security
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-18 23:43:28 UTC
Size:
498 bytes
patch
obsolete
>diff --git a/admsXml/preprocessorLex.l b/admsXml/preprocessorLex.l >index 5377bcc..98ad8f8 100644 >--- a/admsXml/preprocessorLex.l >+++ b/admsXml/preprocessorLex.l >@@ -82,7 +82,7 @@ void preprocessorerror (const char *message) > static void adms_file_fprintf ( char *filename, const char *filedata) > { > FILE *ofh = fopen (filename,"w"); >- if (fprintf (ofh, filedata)==EOF) >+ if (fprintf (ofh, "%s", filedata)==EOF) > adms_message_fatal(("%s: cannot write file\n", filename)) > fclose (ofh); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1037206
: 910191