Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b32f3fef
Commit
b32f3fef
authored
Dec 07, 2013
by
Jakub Jelinek
Committed by
Jakub Jelinek
Dec 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ssp.c (fail): Avoid -Wformat-security warning.
From-SVN: r205775
parent
c869fd04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libssp/ChangeLog
+4
-0
libssp/ssp.c
+2
-2
No files found.
libssp/ChangeLog
View file @
b32f3fef
2013-12-07 Jakub Jelinek <jakub@redhat.com>
* ssp.c (fail): Avoid -Wformat-security warning.
2013-09-20 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
...
...
libssp/ssp.c
View file @
b32f3fef
/* Stack protector support.
Copyright (C) 2005
, 2009
Free Software Foundation, Inc.
Copyright (C) 2005
-2013
Free Software Foundation, Inc.
This file is part of GCC.
...
...
@@ -136,7 +136,7 @@ fail (const char *msg1, size_t msg1len, const char *msg3)
#ifdef HAVE_SYSLOG_H
/* Only send the error to syslog if there was no tty available. */
else
syslog
(
LOG_CRIT
,
msg3
);
syslog
(
LOG_CRIT
,
"%s"
,
msg3
);
#endif
/* HAVE_SYSLOG_H */
/* Try very hard to exit. Note that signals may be blocked preventing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment