From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 934 invoked by alias); 19 Oct 2018 13:07:43 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 130650 invoked by uid 89); 19 Oct 2018 13:07:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (158.69.185.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 19 Oct 2018 13:07:41 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Aarch64: Better termination checks for sigcontext reading From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <74b3c713184abb8e07f92c4e069ebafde78c0a0e@gdb-build> Date: Fri, 19 Oct 2018 13:10:00 -0000 X-SW-Source: 2018-q4/txt/msg01483.txt.bz2 *** TEST RESULTS FOR COMMIT 74b3c713184abb8e07f92c4e069ebafde78c0a0e *** Author: Alan Hayward Branch: master Commit: 74b3c713184abb8e07f92c4e069ebafde78c0a0e Aarch64: Better termination checks for sigcontext reading When reading the reserved section in the sigcontext ensure the address is updated on an unknown section. Also add additional checks to prevent reading past the end of the array. Fixes gdb.base/savedregs.exp * aarch64-linux-tdep.c (AARCH64_SIGCONTEXT_RESERVED_SIZE): New define. (aarch64_linux_sigframe_init): Extra boundary checks.