Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6455 closed defect (fixed)

#6274 introduced minor memleak

Reported by: asn Owned by:
Priority: Medium Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: pt tor-client
Cc: Actual Points:
Parent ID: #6274 Points:
Reviewer: Sponsor:

Description

#6274 introduced this code in src/or/config.c:

  if (options->ServerTransportPlugin && !server_mode(options)) {
    log_notice(LD_GENERAL, "Tor is not configured as a relay but you specified"
               " a ServerTransportPlugin line (%s). The ServerTransportPlugin "
               "line will be ignored.",
               esc_for_log(options->ServerTransportPlugin->value));
  }

This is wrong use of esc_for_log() and results in a memleak.

Child Tickets

Change History (3)

comment:1 Changed 6 years ago by nickm

Resolution: fixed
Status: newclosed

08e65ce04fbc68389095c627ae752a9784f5739a fixes this.

comment:2 Changed 6 years ago by nickm

Keywords: tor-client added

comment:3 Changed 6 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.