Nick Mathewson
|
60c86a3b79
Merge branch 'bug13315_squashed'
|
пре 10 година |
Nick Mathewson
|
74cbd8d559
fix indentation
|
пре 10 година |
Nick Mathewson
|
254ab5a8de
Use correct argument types for inet_pton.
|
пре 10 година |
rl1987
|
0da4ddda4f
Checking if FQDN is actually IPv6 address string and handling that case.
|
пре 10 година |
rl1987
|
2f1068e68a
Adding helper function that checks if string is a valid IPv6 address.
|
пре 10 година |
rl1987
|
e8e45ff13e
Introducing helper function to validate IPv4 address strings.
|
пре 10 година |
rl1987
|
1ea9a6fd72
Introducing helper function to validate DNS name strings.
|
пре 10 година |
Nick Mathewson
|
a142fc29af
Use tor_malloc_zero(x), not tor_calloc(x,sizeof(char))
|
пре 10 година |
Nick Mathewson
|
bbd8d07167
Apply new calloc coccinelle patch
|
пре 10 година |
Nick Mathewson
|
ded33cb2c7
Use the | trick to save a comparison in our calloc check.
|
пре 10 година |
Nick Mathewson
|
0d8abf5365
Switch to a < comparison for our calloc check; explain how it works
|
пре 10 година |
Mansour Moufid
|
81b452d245
Document the calloc function overflow check.
|
пре 10 година |
Mansour Moufid
|
06b1ef7b76
Remove a duplicate comment.
|
пре 10 година |
Mansour Moufid
|
3206dbdce1
Refactor the tor_reallocarray_ overflow check.
|
пре 10 година |
Mansour Moufid
|
aff6fa0b59
Refactor the tor_calloc_ overflow check.
|
пре 10 година |
Nick Mathewson
|
fcdcb377a4
Add another year to our copyright dates.
|
пре 10 година |
teor
|
238b8eaa60
Improve date validation in HTTP headers
|
пре 10 година |
Nick Mathewson
|
f1782d9c4c
Clean whitespace in last patch.
|
пре 10 година |
teor
|
f51418aabc
Avoid overflow in format_time_interval, create unit tests
|
пре 10 година |
Nick Mathewson
|
48558ed1aa
Merge remote-tracking branch 'public/bug13104_025'
|
пре 10 година |
Nick Mathewson
|
284cc9a224
Avoid an overflow on negation in format_helper_exit_status
|
пре 10 година |
Nick Mathewson
|
d2463c0cfe
Avoid overflows and underflows in sscanf and friends
|
пре 10 година |
Nick Mathewson
|
1eea7a68ed
Use S?SIZE_MAX, not S?SIZE_T_MAX
|
пре 10 година |
Nick Mathewson
|
9b850f9200
Add more assertions to esc_for_log to please the clangalyzer.
|
пре 10 година |
Nick Mathewson
|
07a16b3372
Add an assertion to read_file_to_str_until_eof
|
пре 10 година |
Nick Mathewson
|
57c48bf734
Apply the MALLOC_ZERO_WORKS fixup to tor_realloc as well.
|
пре 10 година |
Nick Mathewson
|
0de7565dfd
Check return values for fcntl in tor_spawn_background.
|
пре 10 година |
Nick Mathewson
|
4570805efd
Fix whitespace issues
|
пре 10 година |
Nick Mathewson
|
2bfd92d0d1
Apply coccinelle script to replace malloc(a*b)->calloc(a,b)
|
пре 10 година |
Nick Mathewson
|
19b137bc05
Add reallocarray clone so we can stop doing multiply-then-reallocate
|
пре 10 година |