Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c136c10f
Commit
c136c10f
authored
Apr 05, 2011
by
Paul Eggert
Browse files
* sound.c (sound_warning): Don't crash if arg contains a printf format.
parent
5e2d4a30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/sound.c
src/sound.c
+1
-1
No files found.
src/ChangeLog
View file @
c136c10f
...
...
@@ -2,6 +2,8 @@
Fix more problems found by GCC 4.6.0's static checks.
* sound.c (sound_warning): Don't crash if arg contains a printf format.
* image.c (tiff_error_handler, tiff_warning_handler): Mark as
printf-like functions.
(tiff_load): Add casts to remove these marks before passing them
src/sound.c
View file @
c136c10f
...
...
@@ -344,7 +344,7 @@ sound_perror (const char *msg)
static
void
sound_warning
(
const
char
*
msg
)
{
message
(
msg
);
message
(
"%s"
,
msg
);
}
...
...
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