qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: don't short-circuit read with zero


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] linux-user: don't short-circuit read with zero length
Date: Wed, 12 Sep 2018 10:22:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 09/11/2018 05:03 AM, Andreas Schwab wrote:
> +        if (!(p = lock_user(VERIFY_WRITE, arg2, arg3, 0)))
> +            goto efault;

The goto should not compile on head, after 2852aafd9d05.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]