Merge "msm: rotator: add check for buffers boundaries" into msm-3.0