Chinese consular records should show what visas were issued, since a holder of either of the stolen passports would require a visa and we may assume that MAS ground staff would have checked that the visas were in order.
Do the effort of reading thread or inform yourself, passengers in transit requires no visa.