Submitted by shenwilly, also found by 0xYamiDancho, hickuphh3, hubble, kenzo, and leastwood
PermissionlessBasicPoolFactory.withdraw requires each reward token transfers to succeed before withdrawing the deposit. If one of the reward token is a malicious/pausable contract that reverts on transfer, unaware users that deposited into this pool will have their funds stuck in the contract.
Add an emergencyWithdraw function that ignores failed reward token transfers.
illuzen (FactoryDAO) confirmed and commented:
illuzen (FactoryDAO) commented:
illuzen (FactoryDAO) resolved:
ksk2345  (warden) commented:
Justin Goro (judge) commented:
