CORIONplatform / solidity

GNU General Public License v3.0
12 stars 9 forks source link

joinProvider(...) allows joining non-existent provider #146

Closed gundas closed 7 years ago

gundas commented 7 years ago

Function joinProvider(...) succeeds if I specify an non-existent providerUID. All the checks pass (because values are nulls or zeros). I think this should not be allowed to reduce the surface of possible exploits. For example, I could create multiple clients and join any future (potentially private) providers, since the providerUID is just a sequential number.