Re: [PATCH] Fix 32-bit int truncation in QED header check

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

 



On 11/23/2010 06:34 AM, Daniel P. Berrange wrote:
> * src/util/memory.c: Avoid 32-bit truncation extracting a 64bit int
> ---
>  src/util/storage_file.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)

ACK, and apologies for not catching that.  I'm still convinced that both
little- and big-endian value parsing are common enough routines that
ought to be shared by more than just QED, so I'll add that to my TODO
queue of low-hanging patches to write.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]