Re: [PATCH 3/4] server: remove srand(time(NULL))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 28, 2015 at 10:25:51AM +0100, Frediano Ziglio wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> 
> This is clearly not a library responsability.
> ---
>  server/red_worker.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 1069055..c83f13e 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -12163,8 +12163,6 @@ static void red_init(RedWorker *worker, WorkerInitData *init_data)
>      if (!spice_timer_queue_create()) {
>          spice_error("failed to create timer queue");
>      }
> -    srand(time(NULL));
> -

Xspice does not seem to be initalizing the random seed though?

Christophe

Attachment: pgpykNp2FwHYy.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]