| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer.
svn:r13639
|
| |
|
|
|
|
|
| |
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
| |
|
|
|
|
|
| |
Correct handling of nested MAP_FOREACH loops. There are none of those ATM, but isn't it nice that now they'll be correct?
svn:r13637
|
| |
|
|
|
|
|
| |
Recover from bad tracked-since value in mtbf history file. This may finally close bug 537.
svn:r13636
|
| |
|
|
|
|
|
| |
Fix a bug that kept buf_find_string_offset from finding a string at the very end of the buffer. Add a unit test for this. Also, do not save a pointer to a chunk that might get reallocated by buf_pullup().
svn:r13635
|
| |
|
|
|
|
|
| |
Fix assertion when searching for a string in an empty chunk.
svn:r13634
|
| |
|
|
|
|
|
| |
Log message to try to detect error in buffers.c
svn:r13633
|
| |
|
|
|
|
|
| |
Unit tests for buf_find_string_offset()
svn:r13632
|
| |
|
|
|
|
|
| |
Fix spelling
svn:r13631
|
| |
|
|
|
|
|
| |
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
|
| |
|
|
| |
svn:r13628
|
| |
|
|
|
|
| |
by default
svn:r13627
|
| |
|
|
|
|
|
| |
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke.
svn:r13626
|
| |
|
|
|
|
|
|
|
|
|
| |
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024. Big servers at the moment regularly use more than 10k FDs, so our old
default of 8k no longer is sufficient. On the other hand we don't want lower
end systems to run out of FDs on Tor's account.
svn:r13625
|
| |
|
|
|
|
|
| |
Suppress signed/unsigned comparison warnings in buffers.c
svn:r13624
|
| |
|
|
|
|
|
| |
fix bufs in buf_pos_t implementation.
svn:r13623
|
| |
|
|
|
|
|
| |
Oops. not supposed to use tor_assert() in eventdns.c
svn:r13622
|
| |
|
|
| |
svn:r13621
|
| |
|
|
|
|
|
| |
Make the last of the veracode warning issues get fixed.
svn:r13620
|
| |
|
|
|
|
|
| |
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
| |
|
|
|
|
|
| |
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c
svn:r13618
|
| |
|
|
|
|
|
| |
rather than ints
svn:r13610
|
| |
|
|
|
|
|
|
| |
version of it, when handling a "/tor/networkstatus-bridges"
directory request. Now compare correctly. Noticed by Veracode.
svn:r13609
|
| |
|
|
| |
svn:r13608
|
| |
|
|
|
|
|
| |
squeeze it into a uint8_t later. also reported by veracode.
svn:r13607
|
| |
|
|
|
|
|
| |
than 65k lines in them. also pointed out by veracode.
svn:r13606
|
| |
|
|
| |
svn:r13605
|
| |
|
|
|
|
|
| |
should probably be fixed better somehow.
svn:r13604
|
| |
|
|
| |
svn:r13603
|
| |
|
|
|
|
|
| |
Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math!
svn:r13602
|
| |
|
|
|
|
|
| |
triggering the assert. reported by veracode.
svn:r13601
|
| |
|
|
|
|
|
| |
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
| |
|
|
|
|
|
|
| |
we're trying to establish an introduction point. bug reported
by veracode.
svn:r13599
|
| |
|
|
|
|
|
| |
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
| |
|
|
|
|
|
| |
elsewhere. bug reported by veracode.
svn:r13597
|
| |
|
|
|
|
|
| |
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function.
svn:r13596
|
| |
|
|
|
|
|
| |
Brown-paper-bag time. We were failing to count all the sockets from accept().
svn:r13595
|
| |
|
|
| |
svn:r13594
|
| |
|
|
|
|
|
| |
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
| |
|
|
| |
svn:r13592
|
| |
|
|
|
|
|
| |
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
|
| |
|
|
|
|
|
| |
potential bug reported by veracode.
svn:r13590
|
| |
|
|
|
|
|
| |
Add some checks in torgzip.c to make sure we never overflow size_t there. Also make sure we do not realloc(list,0) in container.c. Backport candidate.
svn:r13587
|
| |
|
|
| |
svn:r13586
|
| |
|
|
| |
svn:r13585
|
| |
|
|
|
|
|
|
|
| |
would stop building circuits and start refusing connections after
24 hours, since we false believed that Tor was dormant. Reported
by nwf; bugfix on 0.1.2.x.
svn:r13583
|
| |
|
|
| |
svn:r13582
|
| |
|
|
| |
svn:r13581
|
| |
|
|
|
|
|
| |
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it
svn:r13580
|
| |
|
|
|
|
|
| |
TOR_PERF has not not been a sane thing for ages. Remove it.
svn:r13579
|