commit | 2b020f53230f57f4f44029aceee95ca484485235 | [log] [tgz] |
---|---|---|
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Tue Feb 18 09:13:43 2025 +0100 |
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Tue Feb 18 09:13:43 2025 +0100 |
tree | cbcba21f77b6543c747c0e94187dbab85532488a | |
parent | ec51c7ce9fb0a8c4b891cc67658c225be23e6820 [diff] |
testsuite, mi: prevent buffer overflow in get_mi_thread_list If there is a large number of threads in the input program, the expect buffer in `get_mi_thread_list` would become full. Prevent this by consuming the buffer in small pieces. Regression-tested using the gdb.mi tests. Approved-By: Simon Marchi <simon.marchi@efficios.com>