code-423n4 / 2022-05-rubicon-findings

5 stars 2 forks source link

Upgraded Q -> M from 47 [1656123322281] #461

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Judge has assessed an item in Issue #47 as Medium risk. The relevant finding follows:

HickupHH3 commented 2 years ago

It does not check that there are at least two routes and that they are different from each other.

Affected source code:

RubiconRouter.sol#L164 RubiconRouter.sol#L197

Dup of #87