Skip to content
Solidity Blog·· 2026-09-10AI 评分34

Solidity 修复内存 bytes 数组元素 delete 清除整字 bug,0.8.37 已修复

Memory Byte Array Element Delete Clears Whole Word Bug

AI brief

On August 14, 2026, Shaheen Fazim reported a bug in the Solidity code generator through the Ethereum Foundation's bug bounty program. When delete is applied to an element of a bytes array located in memory, the generated code writes 32 zero bytes starting at that element instead of clearing only the element. This also…

Source: Solidity Blog · soliditylang.org