Nick Mathewson
|
3886467f38
Add a new tor_strtok_r for platforms that don't have one, plus tests.
|
15 years ago |
Nick Mathewson
|
fd992deeea
Don't attempt to log messages to a controller from a worker thread.
|
15 years ago |
Nick Mathewson
|
ec7e054668
Spell-check Tor.
|
15 years ago |
Nick Mathewson
|
c36efb0c45
Use a mutex to protect the count of open sockets.
|
15 years ago |
Karsten Loesing
|
9b32e8c141
Update copyright to 2009.
|
15 years ago |
Nick Mathewson
|
cbbc0c9c86
Actually use tor_sscanf() to parse untrusted input.
|
15 years ago |
Nick Mathewson
|
9f8d095e0f
Add and use set/get_uint64 on onion tags. [bug 604; backportable]
|
15 years ago |
Nick Mathewson
|
f99098cca4
Use prctl to reenable core dumps when we have setuid to a non-root user.
|
16 years ago |
Nick Mathewson
|
fe987d3a17
Remove some deadcode and use tor_inet_aton uniformly.
|
16 years ago |
Nick Mathewson
|
3f8ab367c1
Fix warning on panther compile, and bug 913. Backport candidate.
|
16 years ago |
Nick Mathewson
|
a87980c2eb
Add a better (non-locale-having) ctypes implementation to avoid protocol and parsing mismatches on different platforms.
|
16 years ago |
Nick Mathewson
|
9c94b428d9
Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address on any platform.
|
16 years ago |
Nick Mathewson
|
c4b8fef362
Remove svn $Id$s from our source, and remove tor --version --version.
|
16 years ago |
Nick Mathewson
|
52932d6f1a
Remove some code that is #ifdefed out, and that we no longer seem to use, if we ever did.
|
16 years ago |
Nick Mathewson
|
b4d387c28b
Make freelist_len in memarea.c static; document a few variables.
|
16 years ago |
Nick Mathewson
|
b68379b13b
Add DOCDOC entries for undocumented static and global variables.
|
16 years ago |
Nick Mathewson
|
1e5f457461
Fix most DOCDOCs remaining and/or added by redox.
|
16 years ago |
Nick Mathewson
|
1725c0c8a5
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
|
16 years ago |
Nick Mathewson
|
98066d62bc
Lower sprintf buffer max to ~SSIZE_T_MAX from SIZE_T_CEILING, since we need to compare it to a signed int.
|
16 years ago |
Nick Mathewson
|
d60d8976b9
Better error message when told to setuid to ourself.
|
16 years ago |
Nick Mathewson
|
07c8b2be21
Compile without warnings on mingw.
|
16 years ago |
Nick Mathewson
|
6fb06f334a
Try to fix windows mmap code.
|
16 years ago |
Nick Mathewson
|
7f793fa733
Simplify mmap object layout to avoid confusing static analysis tools, and us too.
|
16 years ago |
Nick Mathewson
|
2be5215181
Fix a hard-to-trigger memory leak in log_credential status. Found by Coverity scan. CID 349.
|
16 years ago |
Roger Dingledine
|
96a185d9b7
style cleanup
|
16 years ago |
Nick Mathewson
|
6221bdd294
Add two lseek wrappers to compat.[ch]: one to return current fd position, and one to move the fd to the end of the file.
|
16 years ago |
Nick Mathewson
|
4cddcf8873
Cast uid_t and gid_t to unsigned before passing to printf %u.
|
16 years ago |
Nick Mathewson
|
bc597758dc
Use fcntl for file locking when flock() is not available.
|
16 years ago |
Nick Mathewson
|
a95e0e7355
apply sebastian's fix for bug 859. Apparently on win32 one must lock at least one byte when locking, but locking a nonexistant byte is okay. )
|
16 years ago |
Nick Mathewson
|
6c50ab6e61
Document a couple of functions.
|
16 years ago |