HomePhabricator

Use size_t shifts when computing a size_t

Authored by Pieter Wuille <pieter.wuille@gmail.com> on Mar 30 2019, 19:54.

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

Committed
deadalnixJan 17 2020, 14:11
Pushed
deadalnixJan 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

Event Timeline