There are words for what can happen if you copy source code you don't have a licence to and use it commercially, but they aren't "avoid legal complications".
There are words for what can happen if you copy source code you don't have a licence to and use it commercially, but they aren't "avoid legal complications".