On Wed 01 Feb 2017 10:36:20 PM CET, Max Reitz <mre...@redhat.com> wrote: >> + if (count > INT_MAX - len) { > > How about using BDRV_REQUEST_MAX_BYTES instead? > > (not yet in master, just in my block branch)
Sounds good to me, feel free to edit my patch directly. Berto