Dallas Mavericks have contractual issues
The Mavs are unlikely to offer a long-term contract to Danilo Gallinari or any other player because they want to preserve cap space for next summer. Dallas will have Doncic and Porzingis under contract and a max slot available with plenty of superstars on the market.
The front office would need to offer Gallinari a massive two-year contract with a team option on the second, and try to entice him with a big figure that is beyond his real value. Basically, squeeze in two years what he would receive on a four-year contract.
That would allow the Mavs to maintain flexibility. They could decline the second-year option and free up the cap space should the Greek Freak or another max free agent agree to join them. In the opposite case, they could exercise their option on Gallinari and retain him for another run with Doncic and Porzingis.
If an amnesty clause is included in the renegotiation of the CBA, the Mavs could offer Gallinari a longer-term contract. They would spare the cap space short term, and amnesty him, if necessary. It is just a different way to reach the same result.
Danilo Gallinari would make for a fantastic addition to the Dallas Mavericks. He adds a veteran with playoff experience who provides 3-point shooting and defense. Gallinari addresses the main weaknesses that emerged in the playoffs.