tor/src/common
teor f51418aabc Avoid overflow in format_time_interval, create unit tests
Fix an instance of integer overflow in format_time_interval() when
taking the absolute value of the supplied signed interval value.
Fixes bug 13393.

Create unit tests for format_time_interval().
2014-10-12 20:50:10 +11:00
..
address.c Tell autoconf to make the compiler act as c99 2014-09-25 11:36:28 -04:00
address.h Clear up another clangalyzer issue 2014-09-15 13:52:13 -04:00
aes.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
aes.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
backtrace.c Log a backtrace when the sandbox finds a failure 2014-04-10 15:44:52 -04:00
backtrace.h Only expose clean_backtrace() if we'll implement it 2014-04-16 22:00:13 -04:00
ciphers.inc Update ciphers.inc to match ff28 2014-04-08 11:42:07 -04:00
compat_libevent.c Avoid a "constant variable guards dead code" warning from coverity 2014-09-26 09:40:30 -04:00
compat_libevent.h Get Libevent's PRNG functioning under the linux sandbox 2014-04-16 22:03:09 -04:00
compat.c Use S?SIZE_MAX, not S?SIZE_T_MAX 2014-09-09 12:08:03 -04:00
compat.h Add a tor_ftruncate to replace ftruncate. 2014-07-16 13:58:55 +02:00
container.c Another clang analyzer complaint wrt HT_GENERATE 2014-09-02 12:48:34 -04:00
container.h Add unittests for finding the third quartile of a set. 2014-09-09 12:28:15 -04:00
crypto_curve25519.c Fix on that last fix. 2014-09-25 17:59:10 -04:00
crypto_curve25519.h Support for writing ed25519 public/private components to disk. 2014-09-25 15:08:31 -04:00
crypto_ed25519.c Comments and tweaks based on review by asn 2014-09-25 15:08:32 -04:00
crypto_ed25519.h More documentation for ed25519 stuff. 2014-09-25 15:08:31 -04:00
crypto_format.c Add encode/decode functions for ed25519 public keys 2014-09-25 15:08:31 -04:00
crypto_pwbox.c Use trunnel for crypto_pwbox encoding/decoding. 2014-09-25 11:58:14 -04:00
crypto_pwbox.h Rudimentary-but-sufficient passphrase-encrypted box code. 2014-09-25 11:58:13 -04:00
crypto_s2k.c Check key_len in secret_to_key_new() 2014-09-26 09:06:36 -04:00
crypto_s2k.h Tweak and expose secret_to_key_compute_key for testing 2014-09-25 11:58:13 -04:00
crypto.c Merge remote-tracking branch 'public/bug10816' 2014-10-09 10:57:19 -04:00
crypto.h More generic passphrase hashing code, including scrypt support 2014-09-25 11:58:13 -04:00
di_ops.c Suppress coverity warning about overflowing in safe_mem_is_zero 2014-08-21 11:22:42 -04:00
di_ops.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
include.am Merge branch 'ed25519_ref10_squashed' 2014-09-25 15:11:34 -04:00
linux_syscalls.inc Move code-generation scripts to scripts/codegen 2014-05-07 01:17:41 -04:00
log.c fix a c99-ism 2014-07-16 15:30:14 +02:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
memarea.c scan-build: memarea_strndup() undefined behavior 2014-04-19 13:16:56 -04:00
memarea.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
mempool.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
mempool.h Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 2013-06-18 10:23:03 -04:00
procmon.c New waitpid-handler functions to run callbacks when a child exits. 2014-06-14 11:40:27 -04:00
procmon.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
sandbox.c Merge remote-tracking branch 'origin/maint-0.2.5' 2014-09-29 13:02:50 -04:00
sandbox.h Merge remote-tracking branch 'origin/maint-0.2.5' 2014-09-29 13:02:50 -04:00
testsupport.h Add rudimentary test mocking support. 2013-07-10 15:22:16 -04:00
torgzip.c Whitespace fixes 2014-08-24 13:32:39 -04:00
torgzip.h Count zlib buffer memory towards OOM totals. 2014-08-24 13:04:27 -04:00
torint.h Use S?SIZE_MAX, not S?SIZE_T_MAX 2014-09-09 12:08:03 -04:00
torlog.h Add an option to overwrite logs 2014-07-16 12:16:49 +02:00
tortls.c Merge remote-tracking branch 'origin/maint-0.2.5' 2014-10-03 19:58:25 -04:00
tortls.h Uplift status.c unit test coverage with new test cases and macros. 2014-04-15 15:00:34 -04:00
util_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
util_process.c Another clang analyzer complaint wrt HT_GENERATE 2014-09-02 12:48:34 -04:00
util_process.h whitespace fixes 2014-06-16 15:18:02 -04:00
util.c Avoid overflow in format_time_interval, create unit tests 2014-10-12 20:50:10 +11:00
util.h Add reallocarray clone so we can stop doing multiply-then-reallocate 2014-08-13 10:39:56 -04:00