[libvirt] [PATCH] util: Perform proper virRandomBytes return value checking

Martin Kletzander mkletzan at redhat.com
Tue Jun 7 13:16:42 UTC 2016


On Tue, Jun 07, 2016 at 07:37:22AM -0400, John Ferlan wrote:
>Document the return value of virRandomBytes as 0 or some errno value and
>then make sure all callers make the proper checks.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> src/util/vircrypto.c  | 2 +-
> src/util/virrandom.c  | 2 ++
> tests/vircryptotest.c | 6 ++++--
> tests/virrandomtest.c | 2 +-
> 4 files changed, 8 insertions(+), 4 deletions(-)
>

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160607/1e3b9522/attachment-0001.sig>


More information about the libvir-list mailing list