Commit Graph

10316 Commits

Author SHA1 Message Date
Nick Mathewson
7f793fa733 Simplify mmap object layout to avoid confusing static analysis tools, and us too.
svn:r17490
2008-12-05 02:17:41 +00:00
Nick Mathewson
475fbbbccc Fix a resource leak in test_dir_formats()
svn:r17488
2008-12-05 02:05:39 +00:00
Nick Mathewson
1affbd3464 Split test_util_smartlist into manageable chunks; make them free memory properly.
svn:r17487
2008-12-05 01:58:35 +00:00
Nick Mathewson
30377823c3 Add a few more tests to our tests so that our tests make sense to coverity. CIDs 139, 138, 137.
svn:r17486
2008-12-05 01:49:15 +00:00
Nick Mathewson
e06442b648 Add a couple of sanity-checks for return values that coverity thinks we ought to have. CIDs 337, 335.
svn:r17485
2008-12-05 01:35:49 +00:00
Nick Mathewson
2be5215181 Fix a hard-to-trigger memory leak in log_credential status. Found by Coverity scan. CID 349.
svn:r17484
2008-12-05 01:29:59 +00:00
Andrew Lewman
ea975ddeee Update the win32 directions to mention the many symlink errors one
receives.


svn:r17482
2008-12-04 19:04:24 +00:00
Andrew Lewman
ae85ca25f5 Update libevent version in the win32 directions.
svn:r17480
2008-12-04 18:00:04 +00:00
Nick Mathewson
efa5415f29 signing, not secret.
svn:r17476
2008-12-03 16:37:04 +00:00
Nick Mathewson
a26188cee9 fix bug 880: find the end of an authority cert by looking for the first ----END SIGNATURE----- after the first dir-key-certification, not for the first ----END SIGNATURE. Harmless bug, but it made us non-spec-compliant.
svn:r17470
2008-12-03 03:42:19 +00:00
Nick Mathewson
14fae5f2b3 Revise 157: make the crosscert field match the other authority cert field names.
svn:r17469
2008-12-03 03:38:40 +00:00
Nick Mathewson
37bd9181f0 Do not use O_APPEND on fd-based operations that do not really want it; have them just lseek instead.
svn:r17460
2008-12-02 23:49:40 +00:00
Andrew Lewman
b2321cfd2f It's Short not Sort. Fix path to package list.
svn:r17458
2008-12-02 23:47:27 +00:00
Roger Dingledine
96a185d9b7 style cleanup
svn:r17457
2008-12-02 23:42:21 +00:00
Nick Mathewson
bd6b3072f9 Change logging code to use fds instead of stdio. Fixes bug 861, and probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless.
svn:r17456
2008-12-02 23:36:58 +00:00
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.
svn:r17454
2008-12-02 23:26:04 +00:00
Roger Dingledine
330218c7f7 #include "orconfig.h" in tor-checkkey.c to see if we can resolve
an obscure compile warning on solaris


svn:r17453
2008-12-02 23:13:40 +00:00
Nick Mathewson
1b95a8e68a A cryptic comment in dir-spec.txt is now a complete proposal.
svn:r17452
2008-12-02 23:02:31 +00:00
Nick Mathewson
fd9ecca656 Finish a sentence
svn:r17451
2008-12-02 23:02:10 +00:00
Nick Mathewson
bf4c6cf24a Add proposal 157: "Make certificate downloads specific"
svn:r17448
2008-12-02 22:20:47 +00:00
Nick Mathewson
9c65195449 Apply rovv's patch for bug 864: avoid null error on detached signature handling failure.
svn:r17446
2008-12-02 19:13:23 +00:00
Nick Mathewson
60738daf85 Define socklen_t before using it in compat.h
svn:r17444
2008-12-02 18:54:47 +00:00
Roger Dingledine
2d8f7a4ff6 clarify that 'resolve' relay cells nul-terminate the hostname, just
like 'begin' relay cells.


svn:r17442
2008-12-02 17:35:05 +00:00
Martin Peck
b17b4f65b1 Remove MSYSLibs from installer component list.
svn:r17412
2008-11-30 01:04:57 +00:00
Martin Peck
d8dac4adbe Remove unnecessary msys libs from installer definitions.
svn:r17411
2008-11-30 01:02:50 +00:00
Roger Dingledine
3ddc7483e1 fix a few typos, clean up whitespace in comments
svn:r17409
2008-11-29 12:09:05 +00:00
Roger Dingledine
c04e1a4dd8 add coderman's wix scripts to make a windows msi installer.
svn:r17408
2008-11-29 12:05:04 +00:00
Roger Dingledine
9474ac11d8 minor fix
svn:r17407
2008-11-29 12:04:17 +00:00
Roger Dingledine
984dc51f26 clean up some log messages
svn:r17406
2008-11-29 11:55:30 +00:00
Nick Mathewson
191197eff7 Revert my older supposed gcc-4.4 warning workaround. GCC was not being needlessly prissy; it was hinting at the wrongly pure smartlist_bsearch_idx.
svn:r17396
2008-11-26 17:14:59 +00:00
Nick Mathewson
651a0a2fb5 Stop marking bsearch_idx as pure; it is not.
svn:r17393
2008-11-26 16:57:46 +00:00
Nick Mathewson
4cddcf8873 Cast uid_t and gid_t to unsigned before passing to printf %u.
svn:r17392
2008-11-26 16:13:12 +00:00
Nick Mathewson
bc597758dc Use fcntl for file locking when flock() is not available.
svn:r17391
2008-11-26 16:10:56 +00:00
Roger Dingledine
cfd21c58b5 don't lose a patch that mwenge wrote to put different destination
ports on different streams. one day i will make this into a real
proposal, and argue we should put it in.


svn:r17380
2008-11-24 02:08:46 +00:00
Roger Dingledine
a53ebd20f0 whitespace fix
svn:r17379
2008-11-24 02:02:48 +00:00
Roger Dingledine
5f86304a5c also run ./reindex.pl
svn:r17378
2008-11-24 00:56:04 +00:00
Roger Dingledine
afad8df068 add proposal 156 from mwenge, Tracking blocked ports on the client side
svn:r17377
2008-11-24 00:53:19 +00:00
Nick Mathewson
c7910c3bc9 Consider GetNetworkParams() nameserver parsing to have suceeded if even one nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver.
svn:r17368
2008-11-22 21:46:34 +00:00
Andrew Lewman
05c5e61991 Backport candidate. Force UDZO compression to level 9.
svn:r17360
2008-11-22 05:42:35 +00:00
Roger Dingledine
f722978288 and forward-port those
svn:r17359
2008-11-22 05:14:12 +00:00
Nick Mathewson
07a08d933d Resolve a warning under gcc 4.4 trunk.
svn:r17357
2008-11-22 02:19:14 +00:00
Roger Dingledine
0b7a2a505e prepare_for_poll() -- plus its mysterious cousin, prepare_for_pool() --
are long gone.


svn:r17351
2008-11-21 14:07:57 +00:00
Karsten Loesing
02fe9edf7c Correct ChangeLog entry.
svn:r17321
2008-11-17 21:50:42 +00:00
Nick Mathewson
bdc0aec00a Update _log_global_min_severity after switch_logs_debug(), so that USR2 will work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down.
svn:r17317
2008-11-17 19:58:51 +00:00
Nick Mathewson
0fa698d84f apply sebastian's bug 867 fix: make routerset_equal() work as documented with NULL arguments
svn:r17287
2008-11-16 18:25:20 +00:00
Mike Perry
b4a90cfb7f Hrmm, still not sure I like the flow of this paragraph, but
this is slightly better.



svn:r17280
2008-11-16 07:27:46 +00:00
Mike Perry
e616f8f9b5 Add in initgroups call to drop root's groups.
svn:r17279
2008-11-16 07:26:46 +00:00
Karsten Loesing
6d7951c022 Fix a possible segfault when establishing an exit connection. Bugfix on 0.2.1.5-alpha.
svn:r17275
2008-11-16 01:52:44 +00:00
Mike Perry
425bfdae20 Doh. Need to drop GID first.
svn:r17271
2008-11-14 19:47:28 +00:00
Mike Perry
4a3ca7eb16 Fix the prioritization C wrapper to also drop GID. Clarify
some language and formatting.



svn:r17270
2008-11-14 19:44:35 +00:00