[MPlayer-dev-eng] [PATCH 2/3] Use mp_dir_join instead of sprintf.

Clément Bœsch ubitux at gmail.com
Tue Feb 1 20:24:18 CET 2011


On Sun, Jan 23, 2011 at 08:46:27PM +0100, Clément Bœsch wrote:
> This avoid a potential heap overflow and create a cleaner path: no
> double "//" in the path for example, or event "\\/" on DOS-like systems.
> ---
>  sub/subreader.c |   12 +++++++-----
>  1 files changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/sub/subreader.c b/sub/subreader.c
> index 4fc69a1..bf100c3 100644
> --- a/sub/subreader.c
> +++ b/sub/subreader.c

Applied.

-- 
Clément B.


More information about the MPlayer-dev-eng mailing list