How would you compare the safety of using DD-WRT VS manufacture’s firmware?

Does one have a lesser chance of being hacked compare to the other?

Thanks :)