Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/05/04 12:00 a.m.11 views

Incorrect constant comparison in UniswapConfig.sol.

Handle shw Vulnerability details Impact In the file UniswapOracle/UniswapConfig.sol, the return value i.e., index of the three functions getSymbolHashIndex, getCTokenIndex, and getUnderlyingIndex are compared to the constant uint-1 to check whether the cToken/underlying asset exists or not...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2021/05/04 12:00 a.m.8 views

UniswapConfig getters return wrong token config if token config does not exist

Handle @cmichelio Vulnerability details Vulnerability Details The UniswapConfig.getTokenConfigBySymbolHash function does not work as getSymbolHashIndex returns 0 if there is no config token for that symbol uninitialized map value, but the outer function implements the non-existence check with -1...

6.8AI score
SaveExploits0
Rows per page
Query Builder