[tor-bugs] #31631 [Core Tor/Tor]: Write a test for round-trip encode/decode operations on configuration objects.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 4 23:09:31 UTC 2019


#31631: Write a test for round-trip encode/decode operations on configuration
objects.
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #29211        |         Points:
 Reviewer:                |        Sponsor:  Sponsor31-can
--------------------------+------------------------------------

Comment (by teor):

 Yes, I think that the objects should be the same, even if the file content
 differs in in minor ways.

 Maybe the fuzzer test could do file -> object -> file -> object, and then
 compare the objects.

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


More information about the tor-bugs mailing list