Nick Mathewson
|
bbd8d07167
Apply new calloc coccinelle patch
|
10 vuotta sitten |
Nick Mathewson
|
ded33cb2c7
Use the | trick to save a comparison in our calloc check.
|
10 vuotta sitten |
Nick Mathewson
|
0d8abf5365
Switch to a < comparison for our calloc check; explain how it works
|
10 vuotta sitten |
Mansour Moufid
|
81b452d245
Document the calloc function overflow check.
|
10 vuotta sitten |
Mansour Moufid
|
06b1ef7b76
Remove a duplicate comment.
|
10 vuotta sitten |
Mansour Moufid
|
3206dbdce1
Refactor the tor_reallocarray_ overflow check.
|
10 vuotta sitten |
Mansour Moufid
|
aff6fa0b59
Refactor the tor_calloc_ overflow check.
|
10 vuotta sitten |
Nick Mathewson
|
fcdcb377a4
Add another year to our copyright dates.
|
10 vuotta sitten |
teor
|
238b8eaa60
Improve date validation in HTTP headers
|
10 vuotta sitten |
Nick Mathewson
|
f1782d9c4c
Clean whitespace in last patch.
|
10 vuotta sitten |
teor
|
f51418aabc
Avoid overflow in format_time_interval, create unit tests
|
10 vuotta sitten |
Nick Mathewson
|
48558ed1aa
Merge remote-tracking branch 'public/bug13104_025'
|
10 vuotta sitten |
Nick Mathewson
|
284cc9a224
Avoid an overflow on negation in format_helper_exit_status
|
10 vuotta sitten |
Nick Mathewson
|
d2463c0cfe
Avoid overflows and underflows in sscanf and friends
|
10 vuotta sitten |
Nick Mathewson
|
1eea7a68ed
Use S?SIZE_MAX, not S?SIZE_T_MAX
|
10 vuotta sitten |
Nick Mathewson
|
9b850f9200
Add more assertions to esc_for_log to please the clangalyzer.
|
10 vuotta sitten |
Nick Mathewson
|
07a16b3372
Add an assertion to read_file_to_str_until_eof
|
10 vuotta sitten |
Nick Mathewson
|
57c48bf734
Apply the MALLOC_ZERO_WORKS fixup to tor_realloc as well.
|
10 vuotta sitten |
Nick Mathewson
|
0de7565dfd
Check return values for fcntl in tor_spawn_background.
|
10 vuotta sitten |
Nick Mathewson
|
4570805efd
Fix whitespace issues
|
10 vuotta sitten |
Nick Mathewson
|
2bfd92d0d1
Apply coccinelle script to replace malloc(a*b)->calloc(a,b)
|
10 vuotta sitten |
Nick Mathewson
|
19b137bc05
Add reallocarray clone so we can stop doing multiply-then-reallocate
|
10 vuotta sitten |
Nick Mathewson
|
5b4ee475aa
Remove code for Windows CE support
|
10 vuotta sitten |
Nick Mathewson
|
a7cafb1ea9
Merge branch 'bug8746_v2_squashed'
|
10 vuotta sitten |
Nick Mathewson
|
34f8723dc7
On Windows, terminate processes by handle, not pid
|
10 vuotta sitten |
Nick Mathewson
|
f8344c2d28
Use waitpid code to learn when a controlled process dies
|
10 vuotta sitten |
Nick Mathewson
|
a6eea86a2c
Merge branch 'bug11946'
|
10 vuotta sitten |
Nick Mathewson
|
a88923e455
whitespace fix
|
10 vuotta sitten |
Nick Mathewson
|
9b4ac986cb
Use tor_getpw{nam,uid} wrappers to fix bug 11946
|
10 vuotta sitten |
Nick Mathewson
|
585582fc8c
Merge branch 'bug9781_v2'
|
10 vuotta sitten |