strncpy buffer overflow fixed (FS#987)

ONELINER_LENGTH = 90 while destination buffer has length 40