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

Re: [tor-bugs] #8787 [Tor]: Check return values for more unix functions



#8787: Check return values for more unix functions
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-client
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by andrea):

 My bug8787 branch now has this for munmap(), lseek() and unlink().  For
 strftime(), the most straightforward way would be to make
 format_rfc1123_time(), format_iso_time() and format_iso_local_time() able
 to pass on an error return, but these are called from 88 distinct sites in
 src/or/*.c.  Are we sure changing all of those is the right approach?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8787#comment:2>
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