gdb and binutils branch master updated. 918229560ce9db307532592047066eac0674190d
| Newsgroups | gmane.comp.gdb.top-level.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
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 <[email protected]>
* 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