The setNFTDescriptor
function does not validate that the new NFT descriptor address is not the zero address.
The functions assigns the provided addresses directly to state variables without verifying that they are not the zero address (0x0).
Could temporarily break NFT metadata functionality
Would affect all existing NFTs' metadata retrieval until fixed
This can be fixed by calling the function again with a valid address
Manual code review
Add zero address validation check:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.