The Rossoneri CEO has made it clear that they aim to hold on to the former Cagliari boss at least until the end of the season
The San Siro have been in disappointing form in the opening months of the 2013-14 campaign and a number of recent reports suggested that Allegri is in danger of losing his job if they fail to beat Chievo at the weekend.
However, Galliani has stressed that Milan are not thinking about firing Allegri and is insistent the 46-year-old will remain in charge for the remainder of the season.
"The intention of the club is to stick with Allegri until the end of the season, even if every coach has to deal with the law of results," Galliani said.
"However, there is no Allegri ultimatum. If we lose 22-0 then you would think of a change but I don't like talking about the future.
"I repeat, the match in Verona is important because of the league table but it won't be the last game on earth."
Milan currently sit 11th in the Serie A table.