Signed-off-by: Angus Salkeld <asalk...@redhat.com>
---
 exec/crypto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/crypto.c b/exec/crypto.c
index f85f4b9..1564ee8 100644
--- a/exec/crypto.c
+++ b/exec/crypto.c
@@ -1254,7 +1254,7 @@ static unsigned long rng_nix(unsigned char *buf, unsigned 
long len,
                              void (*callback)(void))
 {
        int fd;
-       unsigned long rb;
+       unsigned long rb = 0;
 
        fd = open ("/dev/urandom", O_RDONLY);
 
-- 
1.6.6.1

_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to