Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Overflow vulnerability in Solidity ( v0.6.12 )

NotificationsYou must be signed in to change notification settings

ishinu/Arithmetic-Overflow-Underflow-Vulnerability

Repository files navigation

Here is a 'Old' vulnerability of Solidity, Unlike other programming languages, solidity wasn't throwing any error for this particularscenario.

Working as an Odometer.

If you wonder what happens when we exceed to largest number in an odometer...

Yes. It starts all the way back from 0. Similarly the case what if in an odometer toy, we reverse from 0 which takes us to the largest number.

Till v0.6.12 only! Afterwards Solidity did a GREAT job fixing it!

  • In this project we are using specifically v0.6.12 just to demonstrate the vulnerability.

Unlike other blockchain project repositories, this will be using Typescript for running tests and deploying to Ropsten public testnet, as soon it's done testing, README will be updated with proper guide for you.

About

Overflow vulnerability in Solidity ( v0.6.12 )

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp