]> Git Repo - secp256k1.git/commit
Avoid out-of-bound pointers and integer overflows in size comparisons
authorTim Ruffing <[email protected]>
Wed, 7 Nov 2018 15:17:57 +0000 (16:17 +0100)
committerTim Ruffing <[email protected]>
Thu, 23 May 2019 13:22:29 +0000 (15:22 +0200)
commitec8f20babd8595f119e642d3833ee90bacc12873
treef2568e5b0ab2b1481829da9baadcf8815d74a829
parent01ee1b3b3c665bf22e06b92afa832ccc54de5119
Avoid out-of-bound pointers and integer overflows in size comparisons

This changes pointer calculations in size comparions to a form that
ensures that no out-of-bound pointers are computed, because even their
computation yields undefined behavior.
Also, this changes size comparions to a form that ensures that neither
the left-hand side nor the right-hand side can overflow.
contrib/lax_der_parsing.c
src/ecdsa_impl.h
src/hash_impl.h
This page took 0.024393 seconds and 4 git commands to generate.