diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-21 15:30:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 15:30:37 +0200 |
| commit | ae4b677aa895a05e84abbb8a3307b0e96bc4a39f (patch) | |
| tree | f49d0fa3af605faf334d0971ba26e77d2d9c9e06 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 670e204ace17af23625bedb7a2c4669da0c3c0a1 (diff) | |
| parent | a684153f2920729f9fc3ea27ddb77d7cc3543214 (diff) | |
| download | rust-ae4b677aa895a05e84abbb8a3307b0e96bc4a39f.tar.gz rust-ae4b677aa895a05e84abbb8a3307b0e96bc4a39f.zip | |
Rollup merge of #76521 - tavianator:fix-pthread-getattr-destroy, r=Amanieu
Fix segfault if pthread_getattr_np fails glibc [destroys][1] the passed pthread_attr_t if pthread_getattr_np() fails. Destroying it again leads to a segfault. Fix it by only destroying it on success for glibc. [1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/pthread_getattr_np.c;h=ce437205e41dc05653e435f6188768cccdd91c99;hb=HEAD#l205
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
