]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
The procedure to find an unused port for the debuginfod tests is susceptible to a...
authorAaron Merey <amerey@redhat.com>
Mon, 2 Mar 2020 12:46:47 +0000 (12:46 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 2 Mar 2020 12:46:47 +0000 (12:46 +0000)
commitb312fea191f0118c2438198f5069d25b0b527178
tree9f37be99059bb51a91a8102a00f27fd4fa2f73af
parent728d32c496435cbd2529f7de9f5277d88c9c04e2
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.
binutils/ChangeLog
binutils/testsuite/binutils-all/debuginfod.exp