Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contracts] getCustomerImages #18

Open
DeveloperAlly opened this issue Mar 16, 2023 · 0 comments
Open

[Contracts] getCustomerImages #18

DeveloperAlly opened this issue Mar 16, 2023 · 0 comments
Labels
bug Something isn't working high-prio security Issues with security smart contracts Issues to do with smart contracts

Comments

@DeveloperAlly
Copy link
Member

DeveloperAlly commented Mar 16, 2023

Function should not be public without checking that sender is the address passed in. This effectively makes all paid images public.

function getCustomerImages(address customerAddress) public view returns (uint[] memory) {
        return customerImages[customerAddress];
    }
@DeveloperAlly DeveloperAlly added bug Something isn't working smart contracts Issues to do with smart contracts security Issues with security labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-prio security Issues with security smart contracts Issues to do with smart contracts
Projects
None yet
Development

No branches or pull requests

2 participants