Acked-by: Christophe Fergeau <[email protected]>

On Wed, Jun 27, 2018 at 08:00:36AM +0100, Frediano Ziglio wrote:
> Check if encoder contains an invalid character.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  server/tests/test-codecs-parsing.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/server/tests/test-codecs-parsing.c 
> b/server/tests/test-codecs-parsing.c
> index 0390a49b..860a575e 100644
> --- a/server/tests/test-codecs-parsing.c
> +++ b/server/tests/test-codecs-parsing.c
> @@ -109,6 +109,12 @@ static void codecs_bad(void)
>              G_LOG_LEVEL_WARNING,
>              "*spice: unknown video codec unknown_codec",
>              TRUE,
> +        },{
> +            // invalid characters in encoder
> +            "spice&:mjpeg",
> +            G_LOG_LEVEL_WARNING,
> +            "*spice: invalid encoder:codec value*",
> +            TRUE,
>          },
>  #if !defined(HAVE_GSTREAMER_1_0) && !defined(HAVE_GSTREAMER_0_10)
>          {
> -- 
> 2.17.1
> 
> _______________________________________________
> Spice-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to