Age | Commit message (Collapse) | Author |
|
|
|
This is needed so llvm_fuzz will see it too.
|
|
Fixes a race condition; resolves 23954.
|
|
|
|
This function -- a mock replacement used only for fuzzing -- would
have a buffer overflow if it got an RSA key whose modulus was under
20 bytes long.
Fortunately, Tor itself does not appear to have a bug here.
Fixes bug 24247; bugfix on 0.3.0.3-alpha when fuzzing was
introduced. Found by OSS-Fuzz; this is OSS-Fuzz issue 4177.
|
|
|
|
Fixes bug 24082; bugfix on 0.3.0.3-alpha. Found by Brian Carpenter.
|
|
At first, we put the tor_git_revision constant in tor_main.c, so
that we wouldn't have to recompile config.o every time the git
revision changed. But putting it there had unintended side effect
of forcing every program that wanted to link libor.a (including
test, test-slow, the fuzzers, the benchmarks, etc) to declare their
own tor_git_revision instance.
That's not very nice, especially since we want to start supporting
others who want to link against Tor (see 23846).
So, create a new git_revision.c file that only contains this
constant, and remove the duplicated boilerplate from everywhere
else.
Part of implementing ticket 23845.
|
|
|
|
|
|
|
|
|
|
Move option-manipulation code to fuzzing_common.
|
|
|
|
|
|
Move common logic from fuzz_http to fuzzing_common.
|
|
This will need some refactoring and mocking.
|