Many have slammed defender Leon Balogun after his goalerror in the first half gave Madagascar a 1-0 lead by half time.
In the 2nd half, Wilfred Ndidi conceded a freekick in promising position for Madagascar, about 28.4 yards out and a little to the left.
He steps up and sends a curling shot into the top corner thanks to a big deflection off the hapless Ndidi!
Madagascar are two up, and their coaching staff join in the goal celebrations in a mass huddle!
Nigeria, having slumped to second place (ahead of Guinean, who beat Burundi 2-0 thanks to goals by Mohamed Yattara) are now likely to face either Cameroon or Ghana in the next round.
See reactions below: