aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
...
* clean up smartlist_string_isin so callers don't have to manage bufsRoger Dingledine2005-01-12
| | | | | | | themselves svn:r3338
* help avoid overflow from len_in + (len_in/n)*len_insRoger Dingledine2005-01-10
| | | | | | | nick, do you think this does it? if so, we should maybe backport too. svn:r3334
* make the initial temp log only notice-err, not info-errRoger Dingledine2005-01-04
| | | | svn:r3274
* Bugfix: we've been using openssl's BIO_get_mem_data incorrectly.Roger Dingledine2005-01-03
| | | | | | | | We assumed the pem-encoded data written by PEM_write_bio_RSAPrivateKey is nul-terminated, and at least sometimes, it's not. svn:r3263
* More work on task #43: fix race conditions on multithreaded (win32) servers.Nick Mathewson2005-01-03
| | | | svn:r3251
* Possible fix for task #43: when running on a multithreaded environment ↵Nick Mathewson2005-01-03
| | | | | | (currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244
* fix an assert on startup when the disk is full and you're logging to a fileRoger Dingledine2004-12-22
| | | | svn:r3204
* move network_init from or/main to common/compatRoger Dingledine2004-12-22
| | | | | | | | call network_init in tor-resolve.c too move tor_lookup_hostname from common/util to common/compat svn:r3203
* Fix a bug in last patch; and keep my name out of the assert() call too.Nick Mathewson2004-12-22
| | | | svn:r3200
* Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name outNick Mathewson2004-12-22
| | | | | | | of the warning messages. svn:r3199
* Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson2004-12-16
| | | | | | file. svn:r3155
* Note that length checking on base64_decode is kinda conservativeNick Mathewson2004-12-13
| | | | svn:r3144
* Belt *or* suspenders will be sufficient when casting things to unsigned char.Nick Mathewson2004-12-08
| | | | svn:r3122
* Solaris CC freaks out if isspace and friends get anything other than an int. ↵Nick Mathewson2004-12-08
| | | | | | We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug svn:r3120
* fix commentRoger Dingledine2004-12-07
| | | | svn:r3110
* Fix some memory leaks and unlikely segfaultsNick Mathewson2004-12-07
| | | | svn:r3103
* note an improvement on our uname we might want to make one dayRoger Dingledine2004-12-07
| | | | svn:r3101
* Fix leakable rsa keyNick Mathewson2004-12-07
| | | | svn:r3099
* Fix parse_iso_time on platforms without strptime.Nick Mathewson2004-12-06
| | | | svn:r3091
* int is not necessarily the same size as size_tRoger Dingledine2004-12-05
| | | | svn:r3079
* fix commentRoger Dingledine2004-12-04
| | | | svn:r3077
* Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson2004-12-02
| | | | | | 0x800...00 are likely to be trouble. svn:r3064
* Fix windows build.Nick Mathewson2004-12-01
| | | | svn:r3053
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* If we are using select, make sure we stay within FD_SETSIZE.Nick Mathewson2004-12-01
| | | | svn:r3051
* a few minor tweaksRoger Dingledine2004-11-30
| | | | svn:r3041
* doxygen uses backslashes, not forward-slashesNick Mathewson2004-11-30
| | | | svn:r3033
* clarify why strlcpy is safe in truncated log messagesNick Mathewson2004-11-30
| | | | svn:r3032
* Add casei versions of strcmpstart/strcmpendNick Mathewson2004-11-30
| | | | svn:r3026
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Remove needless -2 in log code. This was not an underflow risk, sinze we ↵Nick Mathewson2004-11-29
| | | | | | only call format_msg from one place, where buf_len==10024 svn:r3017
* clean up the previous underflow check, and also point outRoger Dingledine2004-11-29
| | | | | | | yet another one that may be a problem. nick? svn:r3016
* Disallow NDEBUG. It is very stupid.Nick Mathewson2004-11-29
| | | | svn:r3012
* fix integer underflow in tor_vsnprintf()Roger Dingledine2004-11-29
| | | | | | | (probably exploitable) svn:r3011
* prevent integer underflowRoger Dingledine2004-11-29
| | | | | | | (not currently exploitable, ilja and i think) svn:r3010
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* correct multiple internal spacesNick Mathewson2004-11-28
| | | | svn:r3004
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* connect() on win32 can do more things than we thought?Nick Mathewson2004-11-28
| | | | svn:r2999
* Very oops. make windows nonblocking sockets nonblockingNick Mathewson2004-11-28
| | | | svn:r2998
* remember; tor_socket_errno has side effects!Nick Mathewson2004-11-28
| | | | svn:r2997
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Flush the logfd after we print "Tor opening log file", so we don't see those ↵Peter Palfrader2004-11-24
| | | | | | messages days later svn:r2980
* Clean up some logging and interfacesNick Mathewson2004-11-23
| | | | svn:r2945
* Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson2004-11-22
| | | | | | | | | - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
* Add function to format local time in ISO formatNick Mathewson2004-11-22
| | | | svn:r2935
* and a comment so i don't try to 'fix' it again laterRoger Dingledine2004-11-20
| | | | svn:r2919
* yes, in fact, i broke it. putting back.Roger Dingledine2004-11-20
| | | | svn:r2918
* kill -USR2 now moves all logs to loglevel debugRoger Dingledine2004-11-20
| | | | | | | plus fix some typos svn:r2914