[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23577 [Core Tor/Tor]: Add rendezvous point IPv6 address to client introduce cells
#23577: Add rendezvous point IPv6 address to client introduce cells
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status:
| needs_revision
Priority: Medium | Milestone: Tor:
| 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: prop224, tor-hs, single-onion, | Actual Points: 2
ipv6, review-group-25 |
Parent ID: #23493 | Points: 1
Reviewer: dgoulet | Sponsor:
| SponsorV-can
-------------------------------------------------+-------------------------
Comment (by teor):
`= {0};` is legal C, but it only works if the first member of the struct
is an array or pointer (or integer type). And some versions of clang or
gcc warn about it.
Instead of using `= {0};` or malloc() and pointer, please use memset() on
the local variable. You can copy the memset() from setup_introduce1_data()
if you like.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23577#comment:33>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs