diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-13 09:07:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-13 09:07:12 -0400 |
commit | 20c4b0169493dae7624632dbca49758812138aeb (patch) | |
tree | ee4c6ee7fbc6f84f361415b1f34ca35a5cbbc12e /src/test/test_workqueue.c | |
parent | 4b182dfc237ba4457b654a0dbc124f721024dab2 (diff) | |
download | tor-20c4b0169493dae7624632dbca49758812138aeb.tar.gz tor-20c4b0169493dae7624632dbca49758812138aeb.zip |
Make preferred_chunk_size avoid overflow, handle big inputs better
Also, add tests for the function.
Closes 20081; bugfix on 0.2.0.16-alpha. This is a Guido Vranken
issue. Thanks, Guido!
Diffstat (limited to 'src/test/test_workqueue.c')
0 files changed, 0 insertions, 0 deletions