[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11648 [Tor]: Problem parsing .z-compressed descriptors fetched via DirPort



#11648: Problem parsing .z-compressed descriptors fetched via DirPort
-------------------------+-----------------------
     Reporter:  karsten  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-relay
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-----------------------

Comment (by karsten):

 Replying to [comment:1 wfn]:
 > Could it be that the way tor terminates that zlib stream (add 'empty
 compressed data' to the zlib stream) is not a proper way to close a zlib
 archive? (So for example this could mean that tor does indeed assume that
 it's okay to send 'partial content' (in the sense of unclosed-zlib-
 archive, zlib-as-stream, not in the sense of fail-to-send-some-data)?)

 I didn't look very closely, but it seems that tor doesn't simply add empty
 compressed data, but that it also sets done to 1.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11648#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs