Mark Andrews
eeb53d081a
silence compiler warning
2017-10-04 18:08:23 +11:00
Mark Andrews
d84dbc76e6
#undef inet_ntop
...
(cherry picked from commit 396125eefe )
2017-10-04 17:50:32 +11:00
Mark Andrews
35c77c3f28
sort
2017-10-04 17:22:54 +11:00
Mark Andrews
68630cce3a
4752. [test] Add unit test for isc_net_pton. [RT #46171 ]
...
(cherry picked from commit 5fcdb09126 )
2017-10-04 14:43:51 +11:00
Evan Hunt
630eb6e8c6
[v9_9] missing declaration of INSIST
2017-10-03 20:03:38 -07:00
Tinderbox User
16a6c249b5
update copyright notice / whitespace
2017-10-03 23:48:38 +00:00
Mark Andrews
068bd10a3a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
...
(cherry picked from commit a009d03a1a )
2017-10-03 15:00:57 +11:00
Tinderbox User
cc7dac87cf
update copyright notice / whitespace
2017-09-27 23:49:17 +00:00
Mukund Sivaraman
5b1cc88385
Make isc_refcount_current() atomically read the counter value ( #46074 )
...
(cherry picked from commit abb8813a33 )
(cherry picked from commit a8fa3e2d44 )
(cherry picked from commit 6da7b3227c )
2017-09-27 15:11:39 +05:30
Mark Andrews
80dd4971d9
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
...
(cherry picked from commit f9f3f20d2d )
2017-09-27 13:19:37 +10:00
Mark Andrews
d4faf256b2
fix HMAC_Update arguement
2017-09-25 10:46:28 +10:00
Mukund Sivaraman
1c8b9ab360
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
...
(cherry picked from commit fb9712f639 )
(cherry picked from commit dc0d95a23d )
(cherry picked from commit 7cf6516670 )
2017-09-22 15:16:22 +05:30
Mark Andrews
4468644033
#include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
...
(cherry picked from commit 6138c5a5e4 )
2017-09-22 18:10:04 +10:00
Tinderbox User
a7741835cc
regen v9_9
2017-09-21 07:51:57 +00:00
Mark Andrews
07c3a58bd4
#include <stdint.h>
2017-09-21 14:21:04 +10:00
Tinderbox User
01bad075b6
regen v9_9
2017-09-21 04:07:03 +00:00
Mark Andrews
d6c258064b
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:42:05 +10:00
Mark Andrews
799bb89429
explicitly list test programs
2017-09-21 13:07:12 +10:00
Tinderbox User
288dd11e7a
update copyright notice / whitespace
2017-09-19 23:51:07 +00:00
Mukund Sivaraman
d347cf40c8
Don't use memset() to wipe memory ( #45947 )
...
(cherry picked from commit d5707676e4 )
(cherry picked from commit b5252fcde5 )
(cherry picked from commit aaf04460a0 )
# Conflicts:
# lib/dns/pkcs11dh_link.c
# lib/dns/pkcs11dsa_link.c
# lib/dns/pkcs11gost_link.c
# lib/dns/pkcs11rsa_link.c
# lib/isc/hmacmd5.c
# lib/isc/hmacsha.c
# lib/isc/md5.c
# lib/isc/sha1.c
# lib/isc/sha2.c
2017-09-19 18:59:48 +05:30
Mukund Sivaraman
33d39430d0
Use C11's stdatomic.h instead of isc_atomic where available
...
(cherry picked from commit 404c9b1c53 )
(cherry picked from commit 9905606390 )
(cherry picked from commit 5bae58a2e7 )
2017-09-19 15:57:44 +05:30
Tinderbox User
928c3c53c6
update copyright notice / whitespace
2017-09-14 23:59:05 +00:00
Mark Andrews
80420ec94f
silence warning
...
(cherry picked from commit c59bf663e8 )
2017-09-14 19:02:55 +10:00
Mark Andrews
7eb73f6288
#include <isc/string.h>
2017-09-14 18:57:53 +10:00
Mark Andrews
b3faa2b293
(cherry picked from commit 5fb0c09a5e)
2017-09-14 18:55:51 +10:00
Mark Andrews
af9aed27c1
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:43:48 +10:00
Tinderbox User
077f3c4e27
update copyright notice / whitespace
2017-09-14 00:03:54 +00:00
Mukund Sivaraman
20a3b9a914
add #include <isc/string.h>
...
(cherry picked from commit 4c9ba9ded8 )
(cherry picked from commit 28a55095f7 )
(cherry picked from commit bf5e318303 )
2017-09-13 20:00:18 +05:30
Mukund Sivaraman
4c9e65a0dd
Add missing <isc/print.h>
...
(cherry picked from commit 188fa6ea68 )
(cherry picked from commit a13e9f894c )
(cherry picked from commit 83dfa75ac3 )
2017-09-13 19:59:05 +05:30
Mukund Sivaraman
de42212c63
Tweak hash_test.c further, passing sizeof(str)
...
(cherry picked from commit 8997fc0a3f )
(cherry picked from commit fc7ed600ae )
(cherry picked from commit f3e90ace9d )
2017-09-13 19:35:45 +05:30
Mukund Sivaraman
247224ab2d
Tweak
...
(cherry picked from commit a2873eabf6 )
(cherry picked from commit 4baac8b9f3 )
(cherry picked from commit 1be28340db )
2017-09-13 19:35:06 +05:30
Mukund Sivaraman
da42d8e733
Fix size of output string in hash tests
...
(cherry picked from commit bc5e0a6868 )
(cherry picked from commit 3dc00443bb )
(cherry picked from commit 6e338884b5 )
2017-09-13 19:35:04 +05:30
Evan Hunt
cef35fcefc
[v9_9] add print.h
2017-09-13 00:25:24 -07:00
Evan Hunt
f07825440f
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
(cherry picked from commit 114f95089c )
(cherry picked from commit 7cd594b842 )
(cherry picked from commit e0ddfb109e )
2017-09-13 00:20:09 -07:00
Mark Andrews
7ebef930d7
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
...
(cherry picked from commit 34130ee25a )
2017-09-13 09:55:13 +10:00
Tinderbox User
907bd36c10
update copyright notice / whitespace
2017-09-12 23:50:35 +00:00
Mark Andrews
171f1f06ab
4714. [port] openbsd/libressl: add support for building with
...
--enable-openssl-hash. [RT #45982 ]
(cherry picked from commit c75e9c7630 )
2017-09-12 14:24:14 +10:00
Tinderbox User
ec9becf633
update copyright notice / whitespace
2017-08-09 23:54:45 +00:00
Evan Hunt
c06d35bb34
[v9_9] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
(cherry picked from commit cdacec1dcb )
(cherry picked from commit 7dbeb5e7f0 )
(cherry picked from commit 733404ab8c )
2017-08-09 00:38:10 -07:00
Tinderbox User
b0fc3288ec
update copyright notice / whitespace
2017-08-03 00:01:44 +00:00
Mark Andrews
b5b0fbc44c
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
(cherry picked from commit 2019cf29e2 )
2017-08-03 08:47:15 +10:00
Tinderbox User
fd14aa6b8a
update copyright notice / whitespace
2017-07-28 23:49:49 +00:00
Mark Andrews
9d51d7a967
4660. [bug] Remove spurious "peer" from Windows socket log
...
messages. [RT #45617 ]
(cherry picked from commit 5140501a0b )
2017-07-28 16:07:51 +10:00
Tinderbox User
b5f2eaec62
update copyright notice / whitespace
2017-07-21 23:48:17 +00:00
Mark Andrews
169bf685a1
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
(cherry picked from commit 4bf32aa587 )
2017-07-21 12:50:13 +10:00
Evan Hunt
44bbb60075
[v9_9] update api ranges
2017-07-16 13:57:35 -07:00
Tinderbox User
0b3fb0379d
update copyright notice / whitespace
2017-07-11 01:47:26 +00:00
Mark Andrews
6cbddd0137
update for 9.9.11rc1
2017-07-11 11:43:47 +10:00
Mark Andrews
7015ac4491
4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message
...
will not fit into a single IPv4 encapsulated IPv6
UDP packet when transmitted over a Ethernet link.
[RT #42871 ]
(cherry picked from commit 31ffec1541 )
2017-07-11 11:42:43 +10:00
Evan Hunt
adf886ca5b
[v9_9] fix API ranges (170-179 was used for two branches)
2017-06-27 12:20:41 -07:00