Section 532(1) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(1)If any Magistrate or other authority purporting to exercise powers duly conferred, which were not so conferred, commits an accused person for trial before a Court of Session or High Court, the Court to which the commitment is made may, after perusal of the proceedings, accept the commitment, if it considers that the accused has not been injured thereby, unless during the inquiry and before the order of commitment, objection was made on behalf either of the accused or of the prosecution to the jurisdiction of such Magistrate or other authority.