Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] gdbserver: fix potential buffer overflow in qTStatus
@ 2026-11-23 22:46 Andrew Burgess
  2026-11-23 22:46 ` [PATCH 1/2] gdbserver: move local variable declarations inline in cmd_qtstatus Andrew Burgess
  2026-11-23 22:46 ` [PATCH 2/2] gdbserver: fix buffer overflow " Andrew Burgess
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Burgess @ 2026-11-23 22:46 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

Patch #2 fixes a potential buffer overflow in gdbserver's handling of the
qTStatus packet.

Patch #1 is an initial refactor, just bringing the cmd_qtstatus function more
inline with GDB's current coding standards.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdbserver: move local variable declarations inline in cmd_qtstatus
  gdbserver: fix buffer overflow in cmd_qtstatus

 .../gdb.server/overfull-qtstatus-packet.exp   | 177 ++++++++++++++++++
 gdbserver/tracepoint.cc                       |  83 ++++----
 2 files changed, 220 insertions(+), 40 deletions(-)
 create mode 100644 gdb/testsuite/gdb.server/overfull-qtstatus-packet.exp


base-commit: 66be8cee927b2caeefdb9aa8bff753793a976865
-- 
2.56.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-23 22:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 22:46 [PATCH 0/2] gdbserver: fix potential buffer overflow in qTStatus Andrew Burgess
2026-11-23 22:46 ` [PATCH 1/2] gdbserver: move local variable declarations inline in cmd_qtstatus Andrew Burgess
2026-11-23 22:46 ` [PATCH 2/2] gdbserver: fix buffer overflow " Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox