aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2004-12-16Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson
file. svn:r3155
2004-12-13Note that length checking on base64_decode is kinda conservativeNick Mathewson
svn:r3144
2004-12-08Belt *or* suspenders will be sufficient when casting things to unsigned char.Nick Mathewson
svn:r3122
2004-12-08Solaris CC freaks out if isspace and friends get anything other than an int. ↵Nick Mathewson
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
2004-12-07fix commentRoger Dingledine
svn:r3110
2004-12-07Fix some memory leaks and unlikely segfaultsNick Mathewson
svn:r3103
2004-12-07note an improvement on our uname we might want to make one dayRoger Dingledine
svn:r3101
2004-12-07Fix leakable rsa keyNick Mathewson
svn:r3099
2004-12-06Fix parse_iso_time on platforms without strptime.Nick Mathewson
svn:r3091
2004-12-05int is not necessarily the same size as size_tRoger Dingledine
svn:r3079
2004-12-04fix commentRoger Dingledine
svn:r3077
2004-12-02Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson
0x800...00 are likely to be trouble. svn:r3064
2004-12-01Fix windows build.Nick Mathewson
svn:r3053
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-12-01If we are using select, make sure we stay within FD_SETSIZE.Nick Mathewson
svn:r3051
2004-11-30a few minor tweaksRoger Dingledine
svn:r3041
2004-11-30doxygen uses backslashes, not forward-slashesNick Mathewson
svn:r3033
2004-11-30clarify why strlcpy is safe in truncated log messagesNick Mathewson
svn:r3032
2004-11-30Add casei versions of strcmpstart/strcmpendNick Mathewson
svn:r3026
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-29Remove needless -2 in log code. This was not an underflow risk, sinze we ↵Nick Mathewson
only call format_msg from one place, where buf_len==10024 svn:r3017
2004-11-29clean up the previous underflow check, and also point outRoger Dingledine
yet another one that may be a problem. nick? svn:r3016
2004-11-29Disallow NDEBUG. It is very stupid.Nick Mathewson
svn:r3012
2004-11-29fix integer underflow in tor_vsnprintf()Roger Dingledine
(probably exploitable) svn:r3011
2004-11-29prevent integer underflowRoger Dingledine
(not currently exploitable, ilja and i think) svn:r3010
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28correct multiple internal spacesNick Mathewson
svn:r3004
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-28connect() on win32 can do more things than we thought?Nick Mathewson
svn:r2999
2004-11-28Very oops. make windows nonblocking sockets nonblockingNick Mathewson
svn:r2998
2004-11-28remember; tor_socket_errno has side effects!Nick Mathewson
svn:r2997
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-24Flush the logfd after we print "Tor opening log file", so we don't see those ↵Peter Palfrader
messages days later svn:r2980
2004-11-23Clean up some logging and interfacesNick Mathewson
svn:r2945
2004-11-22Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson
- func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
2004-11-22Add function to format local time in ISO formatNick Mathewson
svn:r2935
2004-11-20and a comment so i don't try to 'fix' it again laterRoger Dingledine
svn:r2919
2004-11-20yes, in fact, i broke it. putting back.Roger Dingledine
svn:r2918
2004-11-20kill -USR2 now moves all logs to loglevel debugRoger Dingledine
plus fix some typos svn:r2914
2004-11-20simplify close_temp_logs()Roger Dingledine
(nick, did i break this?) svn:r2913
2004-11-20remove another possible sigpipe causeRoger Dingledine
svn:r2912
2004-11-20Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson
setup. More docs needed svn:r2911
2004-11-16Fix a fun bug in read_all that was corrupting config files on windows, and ↵Nick Mathewson
probably doing other bad stuff too. svn:r2898
2004-11-15Make log_fn not fail so miserably on VC6Nick Mathewson
svn:r2896
2004-11-15Whitespace normalizationNick Mathewson
svn:r2895
2004-11-15ugly macros to make log_fn play nice on non-GCC compilers.Nick Mathewson
svn:r2894
2004-11-14Split X509 certificate liveness checks into a separate functionNick Mathewson
svn:r2873
2004-11-14Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in ↵Nick Mathewson
configure.in and always include orconfig.h before anything else svn:r2854
2004-11-14remove redundant stdio.hRoger Dingledine
i guess that wasn't the fix svn:r2849
2004-11-14clean up the ftello call a little bit.Roger Dingledine
but i'm still getting: log.c:94: warning: implicit declaration of function `ftello' svn:r2848