[vlc-devel] [PATCH 3/3] control: cli: fix NULL pointer leading to PlayerSeek crash

"zhilizhao(赵志立)" quinkblack at foxmail.com
Mon Feb 8 10:47:59 UTC 2021


Ping.

> On Feb 3, 2021, at 8:53 PM, Zhao Zhili <quinkblack at foxmail.com> wrote:
> 
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> ---
> modules/control/cli/cli.c | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/modules/control/cli/cli.c b/modules/control/cli/cli.c
> index b134e471bf..ca396a2ee3 100644
> --- a/modules/control/cli/cli.c
> +++ b/modules/control/cli/cli.c
> @@ -325,7 +325,10 @@ error:      wordfree(&we);
>         arg += strspn(arg, " ");
> 
>         if (*arg)
> +        {
> +            args[1] = arg;
>             count++;
> +        }
>     }
> #endif
> 
> -- 
> 2.28.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list