HomePhabricator

Use size_t shifts when computing a size_t

Description

Use size_t shifts when computing a size_t

Summary: This is a backport of secp256k1's PR607

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 30 2019, 19:54
deadalnixCommitted on Jan 17 2020, 14:11
deadalnixPushed on Jan 17 2020, 14:11
Reviewer
Restricted Project
Differential Revision
D4991: Use size_t shifts when computing a size_t
Parents
rABCfd66a562632e: Fix integer overflow in ecmult_multi_var when n is large
Branches
Unknown
Tags
Unknown