Nick Mathewson
|
38f56608d9
Make more unit tests handle resource leaks properly.
|
17 years ago |
Nick Mathewson
|
1203850350
Coverity says it is okay to acknowledge them. Do so. Their tool is awesome.
|
17 years ago |
Karsten Loesing
|
52fbfc5d45
Correct indentation.
|
17 years ago |
Roger Dingledine
|
659f1651e0
tweak karsten's patch
|
17 years ago |
Roger Dingledine
|
2c14705a4d
patch from karsten to fix more of bug 767
|
17 years ago |
Nick Mathewson
|
f95d7c189b
Refactor unit test macros and tor_free_all() logic a bit so as to make it easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
|
17 years ago |
Nick Mathewson
|
6c432a5565
Replace the dummy-use var in SMARTLIST_FOREACH_END() with one that is less likely to confuse analysis tools into thinking we do use after free. Arguably, (void)x should count as use in suppressing unused variable warnings, but not in generating hey-you-used-a-variable warnings. Arguably, though, it shouldn't.
|
17 years ago |
Roger Dingledine
|
fa64d8041f
minor cleanups on karsten's patch
|
17 years ago |
Roger Dingledine
|
ef7af1d61e
karsten's patch for bug 767.
|
17 years ago |
Roger Dingledine
|
d37fae2f4e
Catch and report a few more bootstrapping failure cases when Tor
|
17 years ago |
Nick Mathewson
|
aacda9cd8e
We should not alter an addr_policy_t that has been canonicalized.
|
17 years ago |
Roger Dingledine
|
346ca2d48e
forward-port the 0.2.0.31 changelog
|
17 years ago |
Nick Mathewson
|
67327a863a
Fix a variable handling mistake when testing for libevent functions in configure.in. Found by Riastradh.
|
17 years ago |
Nick Mathewson
|
baeb260ad1
Refactor use of connection_new so that we get more verifiable typesafety.
|
17 years ago |
Nick Mathewson
|
cd5d0f3890
Add changelog for scanner-based stuff.
|
17 years ago |
Nick Mathewson
|
339f094056
Refactor some code and add some asserts based on scanner results.
|
17 years ago |
Nick Mathewson
|
a345506672
Add an assert to make tools happier.
|
17 years ago |
Nick Mathewson
|
d5b2dab31d
Fix a malloc that should have been a tor_malloc
|
17 years ago |
Nick Mathewson
|
0b8117a5c0
Fix numerous memory leaks: some were almost impossible to trigger, and some almost inevitable.
|
17 years ago |
Nick Mathewson
|
4d94e061c7
Clean up some redundant stuff in crypto_dh_new().
|
17 years ago |
Nick Mathewson
|
a56a072f29
It is probably some kind of misdeed to say for (i=0;i<2;++i) { A=i?x:y; foo(bar(A)); } rather than foo(bar(x)); foo(bar(y)); . Also, it can confuse tools.
|
17 years ago |
Nick Mathewson
|
a6ea2b056a
Fix a memory leak in tor-gencert.c
|
17 years ago |
Nick Mathewson
|
8ea780632f
Make severity args to add_*_log() functions be const
|
17 years ago |
Nick Mathewson
|
c33dde4ac1
Fix mingw build with --enable-gcc-warnings set.
|
17 years ago |
Nick Mathewson
|
fa2f72ded7
An asterisk makes a difference sometimes. Fixes bug 809.
|
17 years ago |
Nick Mathewson
|
3f2b7078d2
Use warn_too_many_conns() when accept() fails with a resource limit.
|
17 years ago |
Peter Palfrader
|
8dd5a3d830
Add my scripts to dump directories to contrib
|
17 years ago |
Peter Palfrader
|
3c5c7994b0
New alpha release: 0.2.1.5-alpha
|
17 years ago |
Roger Dingledine
|
ed45a42f98
take out the crazy line from last night that made no sense. apparently
|
17 years ago |
Roger Dingledine
|
9f823f54d5
remove some redundant includes. i expect the first one to be a problem
|
17 years ago |