diff options
author | Aaron Merey <amerey@redhat.com> | 2020-03-02 12:46:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-02 12:46:47 +0000 |
commit | b312fea191f0118c2438198f5069d25b0b527178 (patch) | |
tree | 9f37be99059bb51a91a8102a00f27fd4fa2f73af /gdb/python/py-param.c | |
parent | 728d32c496435cbd2529f7de9f5277d88c9c04e2 (diff) | |
download | gdb-b312fea191f0118c2438198f5069d25b0b527178.zip gdb-b312fea191f0118c2438198f5069d25b0b527178.tar.gz gdb-b312fea191f0118c2438198f5069d25b0b527178.tar.bz2 |
The procedure to find an unused port for the debuginfod tests is susceptible to a TOCTOU failure. Change port finding in order to avoid this. Also use 'expect' to interact with the server process since we now use the server's output to determine whether a port is in use.
* binutils/testsuite/binutils-all/debuginfod.exp: Improve port
selection.
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions