HomePhabricator

[secp256k1] Avoid calling fclose(...) with an invalid argument

Description

[secp256k1] Avoid calling fclose(...) with an invalid argument

Summary: Backport PR498 from practicalswift

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1259

Details

Provenance
deadalnixAuthored on Apr 8 2018, 15:54
deadalnixPushed on Apr 9 2018, 15:24
Reviewer
Restricted Project
Differential Revision
D1259: [secp256k1] Avoid calling fclose(...) with an invalid argument
Parents
rSTAGING2fd74f214029: [secp256k1] Make sure we get the requested number of bytes from /dev/urandom
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/3455