On 20 May 2015 at 14:19, Emil Velikov <emil.l.velikov at gmail.com> wrote: > On 20 May 2015 at 07:25, Sergey Frolov <dunkan.aidaho at gmail.com> wrote: >> + strncpy(*signature, param, strlen(param)); > The last (terminating null) byte seems to be uninitialised. Please ignore this. I was reading it as memcpy :-\ -Emil