mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 15:17:13 +08:00
2001-08-10 Orjan Friberg <orjanf@axis.com>
* remote.c (read_frame): Correct off-by-one error in condition.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2001-08-10 Orjan Friberg <orjanf@axis.com>
|
||||||
|
|
||||||
|
* remote.c (read_frame): Correct off-by-one error in condition.
|
||||||
|
|
||||||
2001-08-08 Don Howard <dhoward@redhat.com>
|
2001-08-08 Don Howard <dhoward@redhat.com>
|
||||||
|
|
||||||
* stabsread.c (read_type): Add support for const and volatile
|
* stabsread.c (read_type): Add support for const and volatile
|
||||||
|
@ -4189,7 +4189,7 @@ read_frame (char *buf,
|
|||||||
|
|
||||||
if (repeat > 0 && repeat <= 255
|
if (repeat > 0 && repeat <= 255
|
||||||
&& bc > 0
|
&& bc > 0
|
||||||
&& bc + repeat < sizeof_buf - 1)
|
&& bc + repeat - 1 < sizeof_buf - 1)
|
||||||
{
|
{
|
||||||
memset (&buf[bc], buf[bc - 1], repeat);
|
memset (&buf[bc], buf[bc - 1], repeat);
|
||||||
bc += repeat;
|
bc += repeat;
|
||||||
|
Reference in New Issue
Block a user