Opened 15 months ago

Last modified 11 months ago

#27805 new defect

Update CodingStandardsRust.md with allocate_and_copy_string()

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.3.3.1-alpha
Severity: Normal Keywords: rust, protover, memory-safety, fast-fix, 035-deferred-20190115, 041-proposed
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We have allocate_and_copy_string() in Rust, which uses tor_malloc():
https://github.com/torproject/tor/blob/master/src/rust/tor_allocate/tor_allocate.rs#L30

We need to update our rust coding standards to mention allocate_and_copy_string():
https://gitweb.torproject.org/tor.git/tree/doc/HACKING/CodingStandardsRust.md#n374

Child Tickets

Change History (3)

comment:1 Changed 15 months ago by nickm

Keywords: 035-must 033-backport 034-backport removed

This is important and worth doing, but is not strictly-speaking 035-must

comment:2 Changed 14 months ago by nickm

Parent ID: #27740

comment:3 Changed 11 months ago by nickm

Keywords: 035-deferred-20190115 041-proposed added
Milestone: Tor: 0.3.5.x-finalTor: unspecified

Marking a number of 0.3.5 tickets as possible, maybe even a good idea, for later. Possibly backportable, some of them. But not currently things to do as part of 0.3.5 stabilization.

Note: See TracTickets for help on using tickets.