swrap: Truncate the address if the buffer is to small.