]> git.proxmox.com Git - qemu.git/commit
rng-egd: offset the point when repeatedly read from the buffer
authorAmos Kong <akong@redhat.com>
Thu, 21 Nov 2013 08:42:51 +0000 (16:42 +0800)
committerAnthony Liguori <aliguori@amazon.com>
Thu, 21 Nov 2013 15:55:37 +0000 (07:55 -0800)
commit1eb1bd9eafa890f1f4d16ef5cb8b9239a86874d9
tree224ae1e5a22160db3e9d0e219b81a66a871f5666
parent5e490b6a504912225dff0e520e1c6af68295d238
rng-egd: offset the point when repeatedly read from the buffer

The buffer content might be read out more than once, currently
we just repeatedly read the first data block, buffer offset is
missing.

Cc: qemu-stable@nongnu.org
Signed-off-by: Amos Kong <akong@redhat.com>
Message-id: 1385023371-8198-3-git-send-email-akong@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
backends/rng-egd.c