From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Hgy-0002oN-9M for qemu-devel@nongnu.org; Wed, 11 Apr 2018 11:29:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Hgu-0005u9-05 for qemu-devel@nongnu.org; Wed, 11 Apr 2018 11:29:48 -0400 Date: Wed, 11 Apr 2018 11:29:42 -0400 From: "Emilio G. Cota" Message-ID: <20180411152942.GA4480@flamenco> References: <1523377186-32578-1-git-send-email-cota@braap.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 00/10] Avoid integer overflow in next_page_start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, Michael Clark , Palmer Dabbelt , Sagar Karandikar , Bastian Koppelmann , "Edgar E. Iglesias" , Michael Walle , Max Filippov , Guan Xuetao , Peter Maydell , Cornelia Huck , Alexander Graf , David Hildenbrand , qemu-s390x@nongnu.org, Aurelien Jarno , Yongbok Kim On Wed, Apr 11, 2018 at 10:08:58 +1000, Richard Henderson wrote: > On 04/11/2018 02:19 AM, Emilio G. Cota wrote: > > Richard pointed out in another thread that when computing > > next_page_start we can break checks for the last page in the > > address space due to integer overflow. This affects several targets; > > the appended fixes them. > > > > You can fetch the patches from: > > https://github.com/cota/qemu/tree/next_page_overflow > > Reviewed-by: Richard Henderson Thanks! To ease an eventual merge I'll be updating the patches' R-b tags as they come in this branch: https://github.com/cota/qemu/tree/next_page_overflow-r-b BTW to avoid conflicts we should merge this before the translator loop conversion series; I'll make that clear when I send a new version of that patch set. Emilio