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

Re: [libvirt] [PATCH] Test handling of non-existant x509 certs

On 08/21/2013 05:52 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> In commit f905cc998449c89339d0e2894a71d9a9e45293e5 a use of
> uninitialized data was fixed based on a coverity report. It
> turns out it was possible to trigger this issue by pointing
> libvirt at non-existant certificate files, typically causing


> a crash.
> This adds a test case for that scenario. With the above
> commit reverted, this new test case will crash with a SEGV.
> With the fix applied, it passes, reporting a normal libvirt
> error to the caller.
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  tests/virnettlscontexttest.c | 2 ++
>  1 file changed, 2 insertions(+)


Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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