[sr-dev] git:master:431b80a1: sms: define size for buffers and check the length on copy