[PATCH] mfplat: Correctly caclulate length of schema