tor/src/test
Nick Mathewson 00e2310f12 Don't run off the end of the array-of-freelists
This is a fix for bug 8844, where eugenis correctly notes that there's
a sentinel value at the end of the list-of-freelists that's never
actually checked.  It's a bug since the first version of the chunked
buffer code back in 0.2.0.16-alpha.

This would probably be a crash bug if it ever happens, but nobody's
ever reported something like this, so I'm unsure whether it can occur.
It would require write_to_buf, write_to_buf_zlib, read_to_buf, or
read_to_buf_tls to get an input size of more than 32K.  Still, it's a
good idea to fix this kind of thing!
2013-05-09 13:10:48 -04:00
..
bench.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
Makefile.am Tweak the haiku-support patches 2011-12-19 11:27:08 -05:00
Makefile.nmake Fix some remaining nmake/msvc build issues 2012-05-16 10:08:24 -04:00
test_addr.c Add unit test for tor_addr_is_loopback 2013-03-01 12:40:41 -05:00
test_config.c Merge remote-tracking branch 'public/bug3940_redux' 2012-06-13 11:40:38 -04:00
test_containers.c Make unit test for bug7191 work with new smartlist_new() name 2012-10-23 21:49:46 -04:00
test_crypto.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test_data.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test_dir.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test_microdesc.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test_pt.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test_util.c Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3 2012-09-11 13:20:15 -04:00
test-child.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
test.c Don't run off the end of the array-of-freelists 2013-05-09 13:10:48 -04:00
test.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
tinytest_demo.c Synchronize with upstream tinytest. 2012-02-13 17:29:31 -05:00
tinytest_macros.h Oops; there were a couple of typos in the upstream tinytest 2012-02-13 17:48:43 -05:00
tinytest.c Synchronize with upstream tinytest again: remove _identifiers 2012-02-13 17:45:15 -05:00
tinytest.h Synchronize with upstream tinytest again: remove _identifiers 2012-02-13 17:45:15 -05:00