[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1703147] Re: Xfer:features:read truncating xml sent to gdb frontend
[Bug 1703147] Re: Xfer:features:read truncating xml sent to gdb frontends
Fri, 02 Jul 2021 04:48:17 -0000
Problematic code now around lines 2221 (in handle_query_xfer_features)
... lol I'm the only one impacted ... all the large register set cpus
can be affected.
** Changed in: qemu
Status: Expired => New
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Xfer:features:read truncating xml sent to gdb frontends
Status in QEMU:
Around line 1326 in gdbstub.c:
if (len > (MAX_PACKET_LENGTH - 5) / 2)
len = (MAX_PACKET_LENGTH - 5) / 2;
is truncating processor reg description xml files longer than 2045
bytes. Deleting these lines works for my immediate need, but they
seem to be trying to fix some buffer overrun condition so I won't
offer a patch until we understand their purpose.
To manage notifications about this bug go to: