The Cowboys' desperation for a back-up quarterback could end up costing them.

In the wake of Tony Romo's broken back, which will keep the Cowboys' starter sidelined for up to 10 weeks, Dallas signed former Eagles quarterback Mark Sanchez to a one-year deal on Saturday.

But according to Pro Football Talk's Mike Florio, the Cowboys face scrutiny from the league for signing Sanchez before his release from the Denver Broncos was officially announced.

If the Cowboys negotiated and signed Sanchez while he was still technically on the Broncos roster, it would be a violation of the league's tampering rules, which could potentially lead to a fine and/or a loss of draft picks.

The Chiefs were fined and stripped of two draft picks in 2015 for improperly contacting former Eagles wide receiver Jeremy Maclin during the league's negotiating window that takes place before the signing period.

The NFL did not respond to a request for comment, and it's unclear if they'd even pursue the potential violation.

According to the Dallas Morning News, the base value of Sanchez's deal is $2 million, but he could earn up to $5.375 million based on play-time and team-performance incentives.

The Broncos reportedly tried to trade Sanchez before the cut deadline on Saturday, but no teams were willing to take on his $4.5 million contract.

Meanwhile, the Vikings gave up a first and fourth-round draft pick to trade for Sam Bradford, who they will also have to pay upwards of $24 million through 2017 (the Eagles are on the hook for Bradford's $11 million signing bonus).

ESPN's Sheil Kapadia crunched some numbers that show the Cowboys, even if they end up being punished by the league, didn't end up with such a bad deal: