sa_len is unused