[sr-dev] git:master: tls: fix wrong string variable length overwrite