]> Repositorios git - scryer-prolog.git/commit
crypto_data_hkdf/4: do not crash for length > usize::max_value()
authorMarkus Triska <[email protected]>
Tue, 19 May 2020 15:31:36 +0000 (17:31 +0200)
committerMarkus Triska <[email protected]>
Tue, 19 May 2020 15:31:36 +0000 (17:31 +0200)
commitd19d8ea77067319fbc1cbfb4238549107ef9585e
tree09cc4f8ddbf4774c98607aa5af3eb61c2ef400aa
parent34f7752c0f864218e0530e85563a3a3bfe80dc76
crypto_data_hkdf/4: do not crash for length > usize::max_value()

For now, we fail silently in such cases.

Noted by @notoria in #533. Many thanks!
src/prolog/machine/system_calls.rs