This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 5 Feb 2014 12:28:54 -0000
- Subject: gdb and binutils branch master updated. 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5
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 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5 (commit)
from de7b2893853cd1122b223a2023fdc35b41a26960 (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=8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5
commit 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5
Author: Yao Qi <yao@codesourcery.com>
Date: Mon Jan 20 20:56:13 2014 +0800
Use rs->buf after getpkt
Hi,
The following code snippet looks wrong to me
char *buf = rs->buf;
getpkt (&rs->buf, &rs->buf_size, 0);
packet_ok (buf, );
if rs->buf is reallocated in getpkt, buf points to an out of dated
memory. This patch removes local 'buf' and uses rs->buf.
gdb:
2014-02-05 Yao Qi <yao@codesourcery.com>
* remote.c (remote_pass_signals): Remove local 'buf' and use
rs->buf.
(remote_program_signals): Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++++
gdb/remote.c | 8 ++------
2 files changed, 8 insertions(+), 6 deletions(-)
hooks/post-receive
--
gdb and binutils