This is the mail archive of the
src-cvs@sourceware.org
mailing list .
gdb and binutils branch master updated. 918229560ce9db307532592047066eac0674190d
- From: tromey at sourceware dot org
- To: src-cvs at sourceware dot org
- Date: 14 Nov 2013 18:11:24 -0000
- Subject: gdb and binutils branch master updated. 918229560ce9db307532592047066eac0674190d
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 <tromey@redhat.com>
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 <tromey@redhat.com>
* 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