Opened 3 months ago

Last modified 8 weeks ago

#27805 new defect

Update with allocate_and_copy_string()

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.3.5.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: rust, protover, memory-safety, fast-fix
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We have allocate_and_copy_string() in Rust, which uses tor_malloc():

We need to update our rust coding standards to mention allocate_and_copy_string():

Child Tickets

Change History (2)

comment:1 Changed 3 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 8 weeks ago by nickm

Parent ID: #27740
Note: See TracTickets for help on using tickets.