Lucene search

K
code423n4Code4renaCODE423N4:2023-09-DELEGATE-FINDINGS-ISSUES-299
HistorySep 11, 2023 - 12:00 a.m.

Failure to Return Value from Low-Level Call

2023-09-1100:00:00
Code4rena
github.com
1
solidity
low-level call
inline assembly
external contracts
unexpected behavior

AI Score

6.9

Confidence

Low

Lines of code

Vulnerability details

In Solidity, the β€œlow-level call” operation, often used with inline assembly, is a powerful tool for interacting with external contracts. However, there is a specific bug related to low-level calls that can result in unexpected behavior.

Instances (1):

<https://github.com/delegatexyz/delegate-registry/blob/6d1254de793ccc40134f9bec0b7cb3d9c3632bc1/src/DelegateRegistry.sol#L155C7-L157C10&gt;

File: example/DelegateRegistry.sol

155. assembly ("memory-safe") {
            let result := call(gas(), sc, selfbalance(), 0, 0, 0, 0)
        }

Assessed type

Other


The text was updated successfully, but these errors were encountered:

All reactions

AI Score

6.9

Confidence

Low