mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Some changes after review.
This commit is contained in:
parent
10c32362ea
commit
11d30ec04f
@ -30,7 +30,7 @@
|
|||||||
"name": "OptimizerStaleKnowledgeAboutSHA3",
|
"name": "OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"summary": "The optimizer did not properly reset its knowledge about SHA3 operations resulting in some hashes (also used for storage variable positions) not being calculated correctly.",
|
"summary": "The optimizer did not properly reset its knowledge about SHA3 operations resulting in some hashes (also used for storage variable positions) not being calculated correctly.",
|
||||||
"description": "The optimizer performs symbolic execution in order to save re-evaluating expressions whose value is already known. This knowledge was not properly reset across control flow paths and thus the optimizer sometimes thought that the result of a SHA3 operation is already present on the stack. This could result in data corruption by accessing the wrong storage slot.",
|
"description": "The optimizer performs symbolic execution in order to save re-evaluating expressions whose value is already known. This knowledge was not properly reset across control flow paths and thus the optimizer sometimes thought that the result of a SHA3 operation is already present on the stack. This could result in data corruption by accessing the wrong storage slot.",
|
||||||
"severity": "low/medium",
|
"severity": "medium",
|
||||||
"fixed": "0.4.3",
|
"fixed": "0.4.3",
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"optimizer": true
|
"optimizer": true
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
List of Known Bugs
|
List of Known Bugs
|
||||||
##################
|
##################
|
||||||
|
|
||||||
Below, you can find a JSON-formatted list of known security-relevant bugs in the
|
Below, you can find a JSON-formatted list of some of the known security-relevant bugs in the
|
||||||
Solidity compiler. The file itself is hosted in the `Github repository
|
Solidity compiler. The file itself is hosted in the `Github repository
|
||||||
<https://github.com/ethereum/solidity/blob/develop/docs/bugs.json>`_.
|
<https://github.com/ethereum/solidity/blob/develop/docs/bugs.json>`_.
|
||||||
The list stretches back as far as version 0.3.0, bugs known to be present only
|
The list stretches back as far as version 0.3.0, bugs known to be present only
|
||||||
@ -20,8 +20,7 @@ Contract source verification tools and also other tools interacting with
|
|||||||
contracts should consult this list according to the following criteria:
|
contracts should consult this list according to the following criteria:
|
||||||
|
|
||||||
- It is mildly suspicious if a contract was compiled with a nightly
|
- It is mildly suspicious if a contract was compiled with a nightly
|
||||||
compiler version instead of a released version. These compiler versions
|
compiler version instead of a released version
|
||||||
might contain undocumented bugs.
|
|
||||||
- It is also mildly suspicious if a contract was compiled with a version that was
|
- It is also mildly suspicious if a contract was compiled with a version that was
|
||||||
not the most recent at the time the contract was created. For contracts
|
not the most recent at the time the contract was created. For contracts
|
||||||
created from other contracts, you have to follow the creation chain
|
created from other contracts, you have to follow the creation chain
|
||||||
|
@ -22,7 +22,8 @@ you should be more careful.
|
|||||||
This section will list some pitfalls and general security recommendations but
|
This section will list some pitfalls and general security recommendations but
|
||||||
can, of course, never be complete. Also, keep in mind that even if your
|
can, of course, never be complete. Also, keep in mind that even if your
|
||||||
smart contract code is bug-free, the compiler or the platform itself might
|
smart contract code is bug-free, the compiler or the platform itself might
|
||||||
have a bug. All known security-relevant bugs of the compiler can be found in the
|
have a bug. A list of some publicly known security-relevant bugs of the compiler
|
||||||
|
can be found in the
|
||||||
:ref:`list of known bugs<known_bugs>`, which is also machine-readable. Note
|
:ref:`list of known bugs<known_bugs>`, which is also machine-readable. Note
|
||||||
that there is a bug bounty program that covers the code generator of the
|
that there is a bug bounty program that covers the code generator of the
|
||||||
Solidity compiler.
|
Solidity compiler.
|
||||||
|
Loading…
Reference in New Issue
Block a user