[libvirt] [PATCH] Fix safezero()

Jiri Denemark jdenemar at redhat.com
Tue Mar 2 17:34:30 UTC 2010

> > Various safezero() implementations used either -1, errno or -errno
> > return values. This patch fixes them all to return -1 and set errno
> > appropriately.
> > 
> > There was also a bug in size parameter passed to safewrite() which could
> > result in an attempt to write gigabytes out of a megabyte buffer.
>   ACK, this is bug fix from my viewpoint, so I'm fine pushing this now,

OK, pushed.


More information about the libvir-list mailing list