Missing checks for if the arrays are equal in giveLoan() can cause errors and accounting issue when giveLoan() is called.
Each loan id in the array must be paired with a pool id to transfer the loan to but the funtion does chack if the array are equal in length before running the loop, therefore leaving room for errors when the function is called.
Unforeseen outcomes and destruction of the internal accounting of the pools and loans possible.
Manual Review
Checks should be done to ensure that the pools are equal in length before running the loop.
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.