[MPlayer-dev-eng] [PATCH] Do not use non-literal arguments for mp_msg format string

Ingo Brückl ib at wupperonline.de
Sun Jan 26 02:16:36 CET 2014


Alexander Strasser wrote on Sun, 26 Jan 2014 01:30:17 +0100:

> diff --git a/gui/interface.c b/gui/interface.c
> index 6e2387e..fdd6db4 100644
> --- a/gui/interface.c
> +++ b/gui/interface.c
> @@ -1183,7 +1183,7 @@ void gmp_msg(int mod, int lev, const char *format, ...)
>      vsnprintf(msg, sizeof(msg), format, va);
>      va_end(va);
>
> -    mp_msg(mod, lev, msg);
> +    mp_msg(mod, lev, "%s", msg);

Sure!

BTW, although ticket #2173 has been assigned component GUI, I neither have
got an email notification nor does it show up under my tickets, because I'm
not the (default) owner.

Ingo


More information about the MPlayer-dev-eng mailing list