[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:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:  not a
 Keywords:  rust, 033-triage-20180320,           |  bug
  033-removed-20180320                           |  Actual Points:
Parent ID:  #24265                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 If C doesn't reject bad UTF-8, and Rust does, then that's a potential
 difference in behaviour.

 We could avoid this issue by making both C and Rust check that all
 directory documents are ASCII (#18938), or that they are all UTF-8. We
 have a proposal for making directory documents UTF-8.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24029#comment:8>
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