Platform: Code4rena
Start Date: 29/07/2022
Pot Size: $50,000 USDC
Total HM: 6
Participants: 75
Period: 5 days
Judge: GalloDaSballo
Total Solo HM: 3
Id: 149
League: ETH
Rank: 60/75
Findings: 1
Award: $56.13
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: oyc_109
Also found by: 0x1f8b, 0x52, 0xNazgul, 0xSmartContract, 0xf15ers, 8olidity, Aymen0909, Bnke0x0, CertoraInc, Chom, CodingNameKiki, Deivitto, Dravee, ElKu, IllIllI, JC, Lambda, Noah3o6, NoamYakov, RedOneN, Respx, ReyAdmirado, Rohan16, Rolezn, Ruhum, Sm4rty, TomJ, Twpony, Waze, Yiko, __141345__, ajtra, apostle0x01, ashiq0x01, asutorufos, bardamu, benbaessler, berndartmueller, bharg4v, bulej93, c3phas, cccz, ch13fd357r0y3r, codexploder, cryptonue, cryptphi, defsec, djxploit, durianSausage, fatherOfBlocks, gogo, hansfriese, horsefacts, ignacio, kyteg, lucacez, mics, rbserver, robee, sashik_eth, simon135, sseefried, tofunmi, xiaoming90
56.1273 USDC - $56.13
Context:
Description: Input control of "Salt" from arguments mistakenly as "0" Input control of "Salt" as "0" by mistake is not done in the function, If "0" is entered by mistake, transactional copy can be created. Byte32 0 means : 0x0000000000000000000000000000000000000000000000000000000000000000
Recommendation:
Currently:
require(bytes32 salt =! 0x0000000000000000000000000000000000000000000000000000000000000000);
#0 - re1ro
2022-08-05T04:10:45Z
Good spot
#1 - GalloDaSballo
2022-08-28T20:30:23Z
Valid Low