diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-12-19 16:02:26 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-12-19 16:03:34 +0100 |
| commit | cb52cee29d0d8be062c22e59299b8e332da340c5 (patch) | |
| tree | 5658ab9d9569f9c46f7c0b6d417e4972359aa878 /src/httpserver.cpp | |
| parent | Merge #14875: RPCHelpMan: Support required arguments after optional ones (diff) | |
| parent | rpc: Fix data race (UB) in InterruptRPC() (diff) | |
| download | discoin-cb52cee29d0d8be062c22e59299b8e332da340c5.tar.xz discoin-cb52cee29d0d8be062c22e59299b8e332da340c5.zip | |
Merge #14993: rpc: Fix data race (UB) in InterruptRPC()
6c10037f72073eecc674c313580ef50a4f1e1e44 rpc: Fix data race (UB) in InterruptRPC() (practicalswift)
Pull request description:
Fix data race (UB) in `InterruptRPC()`.
Before:
```
$ ./configure --with-sanitizers=thread
$ make
$ test/functional/test_runner.py feature_shutdown.py
…
SUMMARY: ThreadSanitizer: data race rpc/server.cpp:314 in InterruptRPC()
…
ALL | ✖ Failed | 2 s (accumulated)
```
After:
```
$ ./configure --with-sanitizers=thread
$ make
$ test/functional/test_runner.py feature_shutdown.py
…
ALL | ✓ Passed | 3 s (accumulated)
```
Tree-SHA512: b139ca1a0480258f8caa7730cabd7783a821d906630f51487750a6b15b7842675ed679747e1ff1bdade77d248807e9d77bae7bb88da54d1df84a179cd9b9b987
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions