You may want to consider calling logicContractAddress only when the payload is not empty:
bytes memory returnData = Address.functionCall(_args.logicContractAddress, _args.payload);
Recommended Mitigation Steps
You can do the external call only if _args.payload is not empty.
Handle
pauliax
Vulnerability details
Impact
You may want to consider calling logicContractAddress only when the payload is not empty: bytes memory returnData = Address.functionCall(_args.logicContractAddress, _args.payload);
Recommended Mitigation Steps
You can do the external call only if _args.payload is not empty.