No attachment made under this Sanhita shall be deemed unlawful, nor shall any person making the same be deemed a trespasser, on account of any defect or want of form in the summons, conviction, writ of attachment or other proceedings relating thereto.
CHAPTER XXXVII IRREGULAR PROCEEDINGS
Section 512: Defect or error not to make attachment unlawful
The Bharatiya Nagarik Suraksha Sanhita, 2023
Corresponding CrPC provision
As given in the correspondence table of the National Crime Records Bureau (Ministry of Home Affairs). Read both texts before relying on it. NCRB table