On 02/02/15 20:34, Paolo Bonzini wrote:


On 02/02/2015 18:00, Denis V. Lunev wrote:

You are absolutely correct for NBD case but I do not get the
point about SIZE_MAX for gluster. There is no such definition
in their git at git://github.com/gluster/glusterfs nor in
public API headers in Ubuntu :(

SIZE_MAX is defined in stdint.h (provided by the C library).

Paolo

In this case the code should avoid overflow on 64bit arch.

OK, re-spinning.

Reply via email to