[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #24029 [Core Tor/Tor]: Test all rust functions' behavior when called from C with bad UTF8
#24029: Test all rust functions' behavior when called from C with bad UTF8
-------------------------------------------------+-------------------------
Reporter: nickm | Owner:
| chelseakomlo
Type: defect | Status:
| assigned
Priority: Medium | Milestone: Tor:
| 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: rust, 033-triage-20180320, | Actual Points:
033-removed-20180320 |
Parent ID: #24265 | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by isis):
Hmmm, none of the functions are taking `&[u8]`s, so invalid UTF-8 string
will be rejected when the C pointers are read from and converted into
`String`s. Unless I misunderstood and you wanted something else, we can
probably close this?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24029#comment:6>
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