From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11793 invoked by alias); 14 Nov 2013 18:11:28 -0000 Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org Received: (qmail 11750 invoked by uid 306); 14 Nov 2013 18:11:27 -0000 Date: Thu, 14 Nov 2013 18:11:00 -0000 Message-ID: <20131114181124.11628.qmail@sourceware.org> From: tromey@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. 918229560ce9db307532592047066eac0674190d X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 57460bcf82df9e5e335be84ecc9bdef33dddc934 X-Git-Newrev: 918229560ce9db307532592047066eac0674190d X-SW-Source: 2013-q4/txt/msg00158.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via 918229560ce9db307532592047066eac0674190d (commit) from 57460bcf82df9e5e335be84ecc9bdef33dddc934 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=918229560ce9db307532592047066eac0674190d commit 918229560ce9db307532592047066eac0674190d Author: Tom Tromey Date: Thu Nov 14 11:09:14 2013 -0700 off-by-one fix for py-linetable.c While digging into a different memory corruption error, I happened to notice one coming from the linetable code. In a couple of spots, the wrong termination condition was used in a loop, leading gdb to read one element past the end of the linetable. Built and regtested on x86-64 Fedora 18. Also verified using valgrind. I'm checking this in. 2013-11-14 Tom Tromey * python/py-linetable.c (ltpy_has_line) (ltpy_get_all_source_lines): Fix loop termination condition. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 5 +++++ gdb/python/py-linetable.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) hooks/post-receive -- gdb and binutils