mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Uninitialized internal function should call INVALID.
This commit is contained in:
parent
d9fbb83861
commit
a98fa41897
@ -807,7 +807,9 @@ void CompilerUtils::pushZeroValue(Type const& _type)
|
||||
{
|
||||
if (funType->location() == FunctionType::Location::Internal)
|
||||
{
|
||||
m_context.appendInvalid();
|
||||
m_context << m_context.lowLevelFunctionTag("$invalidFunction", 0, 0, [](CompilerContext& _context) {
|
||||
_context.appendInvalid();
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user