[tor-bugs] #31356 [Core Tor/Tor]: 0.4.0 relays should not list Padding=1

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 8 23:40:28 UTC 2019


#31356: 0.4.0 relays should not list Padding=1
--------------------------+--------------------------------
 Reporter:  mikeperry     |          Owner:  (none)
     Type:  defect        |         Status:  needs_revision
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.4.0.5
 Severity:  Normal        |     Resolution:
 Keywords:  wtf-pad       |  Actual Points:
Parent ID:                |         Points:  1
 Reviewer:                |        Sponsor:  Sponsor2
--------------------------+--------------------------------
Changes (by teor):

 * status:  new => needs_revision


Comment:

 Travis says:
 {{{
 clang -DHAVE_CONFIG_H -I.  -I./src -I./src/ext -I./src/ext/trunnel
 -I./src/trunnel -I./src/ext -Isrc/ext
 -DSHARE_DATADIR="\"/usr/local/share\""
 -DLOCALSTATEDIR="\"/usr/local/var\"" -DBINDIR="\"/usr/local/bin\""
 -DTOR_UNIT_TESTS  -DHAVE_MODULE_DIRAUTH=1  -ftrapv -fsanitize=address
 -fno-sanitize=float-divide-by-zero     -g -O2 -U_FORTIFY_SOURCE
 -D_FORTIFY_SOURCE=2 -Qunused-arguments -fstack-protector-all -Wstack-
 protector --param ssp-buffer-size=1 -fPIE -fno-omit-frame-pointer
 -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -Werror
 @warning_flags -MT src/core/or/src_core_libtor_app_testing_a-
 circuitpadding.o -MD -MP -MF src/core/or/.deps
 /src_core_libtor_app_testing_a-circuitpadding.Tpo -c -o src/core/or
 /src_core_libtor_app_testing_a-circuitpadding.o `test -f
 'src/core/or/circuitpadding.c' || echo './'`src/core/or/circuitpadding.c

 src/core/or/circuitpadding.c:218:1: error: version control conflict marker
 in

       file

 <<<<<<< HEAD

 ^

 src/core/or/circuitpadding.c:236:1: error: version control conflict marker
 in

       file

 <<<<<<< HEAD

 ^

 src/core/or/circuitpadding.c:244:16: error: format specifies type 'char *'
 but

       the argument has type 'int' [-Werror,-Wformat]

                i, circuit_purpose_to_string(circ->purpose));

                ^

 ./src/lib/log/log.h:266:53: note: expanded from macro 'log_notice'

   log_fn_(LOG_NOTICE, domain, __FUNCTION__, args, ##__VA_ARGS__)

                                                     ^~~~~~~~~~~

 src/core/or/circuitpadding.c:244:19: error: data argument not used by
 format

       string [-Werror,-Wformat-extra-args]

                i, circuit_purpose_to_string(circ->purpose));

                ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 ./src/lib/log/log.h:266:53: note: expanded from macro 'log_notice'

   log_fn_(LOG_NOTICE, domain, __FUNCTION__, args, ##__VA_ARGS__)

                                             ~~~~    ^

 4 errors generated.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31356#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list