[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #28077 [Core Tor/Tor]: remove unsafe block from cstr! macro



#28077: remove unsafe block from cstr! macro
--------------------------------+------------------------------
 Reporter:  cyberpunks          |          Owner:  (none)
     Type:  defect              |         Status:  new
 Priority:  Medium              |      Component:  Core Tor/Tor
  Version:  Tor: 0.3.4.1-alpha  |       Severity:  Normal
 Keywords:  rust                |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+------------------------------
 {{{
          .unwrap_or(
             unsafe{
                 ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"\0")
             }
         )
 }}}

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