kadenzipfel / smart-contract-vulnerabilities

A collection of smart contract vulnerabilities along with prevention methods
https://kadenzipfel.github.io/smart-contract-vulnerabilities/
1.83k stars 256 forks source link

Add data corruption due to insufficient memory allocation #80

Open indeqs opened 3 months ago

indeqs commented 3 months ago

Related Issue

Checklist

Describe the changes you've made:

This PR adds a memory corruption vulnerability stemming from insufficient memory allocation when using YUL for memory allocation

Type of change

Select the appropriate checkbox: