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

[tor-bugs] #13478 [Tor]: Semantic changes to tor_calloc



#13478: Semantic changes to tor_calloc
-------------------------+----------------------------------
 Reporter:  cypherpunks  |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:  Tor: unspecified
Component:  Tor          |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+----------------------------------
 Hi,

 I noticed the improvements to tor_malloc_zero with tor_calloc, and I added
 a bit to that.

 The tor_calloc function overflow check is a bit faster; the semantic patch
 changes the argument order to be like calloc; and some other small
 details.

 The branch is "calloc" at:
 https://bitbucket.org/eliteraspberries/tor/branch/calloc

 Everything seems to work fine on the stable release.

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