[vlc-devel] commit: Fix format string ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 13 20:45:23 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Aug 13 21:46:38 2008 +0300| [5cdc5b9d6e654e35e1e027ba2d3a230c140f18c0] | committer: Rémi Denis-Courmont 

Fix format string

This is most likely exploitable with malicious sub files.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5cdc5b9d6e654e35e1e027ba2d3a230c140f18c0
---

 modules/codec/subtitles/subsass.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/codec/subtitles/subsass.c b/modules/codec/subtitles/subsass.c
index f483f05..3725002 100644
--- a/modules/codec/subtitles/subsass.c
+++ b/modules/codec/subtitles/subsass.c
@@ -300,7 +300,6 @@ void ParseSSAHeader( decoder_t *p_dec )
                     p_style->psz_stylename = strdup( psz_temp_stylename );
                     p_style->font_style.psz_fontname = strdup( psz_temp_fontname );
                     p_style->font_style.i_font_size = i_font_size;
-                    msg_Dbg( p_dec, psz_temp_color1 );
                     ParseColor( psz_temp_color1, &p_style->font_style.i_font_color,
                                 &p_style->font_style.i_font_alpha );
                     ParseColor( psz_temp_color3, &p_style->font_style.i_outline_color,




More information about the vlc-devel mailing list