[tor-commits] [tor/master] Use tor_strdup() in place of malloc+strncpy+terminate.