[validation] static_assert to ensure width in unit class #16678

pull shargon wants to merge 1 commits into bitcoin:master from shargon:fix-uint changing 1 files +8 −0
  1. shargon commented at 10:28 AM on August 22, 2019: none

    Because operators are implemented in the base class, and being inherited by uint256 and unit512, if a copy or read is made between these types, random memory would be being accessed.

  2. static_assert to ensure width 5b235fcfbf
  3. shargon closed this on Aug 22, 2019

  4. MarcoFalke locked this on Dec 16, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 09:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me