[libvirt] [PATCH] Fix Invalid write in virCryptoHashString()

2014-03-12 Thread Nehal J Wani
While running vircryptotest, it was found that valgrind pointed out the following error: ==27453== Invalid write of size 1 ==27453==at 0x4C7D7C9: virCryptoHashString (vircrypto.c:76) ==27453==by 0x401C4E: testCryptoHash (vircryptotest.c:41) ==27453==by 0x402A11: virtTestRun

Re: [libvirt] [PATCH] Fix Invalid write in virCryptoHashString()

2014-03-12 Thread Eric Blake
On 03/12/2014 03:44 PM, Nehal J Wani wrote: While running vircryptotest, it was found that valgrind pointed out the following error: ==27453== Invalid write of size 1 ==27453==at 0x4C7D7C9: virCryptoHashString (vircrypto.c:76) --- The errors go away, if I either do: Line 76: