Witold Kręcicki and Ondřej Surý
5e375f8b52
Use completely static-sized buffers
...
(cherry picked from commit 49f90025a0 )
(cherry picked from commit 4007a9d020 )
2018-06-26 15:23:28 -04:00
Witold Kręcicki and Ondřej Surý
cd7bf90a54
Fix socket cmsg buffer usage
...
(cherry picked from commit d79be7dd5e )
(cherry picked from commit da63e95612 )
2018-06-26 15:23:28 -04:00
Mark Andrews
fed871b720
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 16:00:36 +10:00
Ondřej Surý
188526f41c
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:25:15 +02:00
Michał Kępień
b4f07af8df
Address GCC 8 -Wformat-truncation warnings
...
(cherry picked from commit 172d0c401e )
2018-05-10 10:54:38 +02:00
Ondřej Surý
6f550b33bf
Cherry-pick changes to isc_file_template and associated unit test from v9_12 to v9_11
...
(cherry picked parts of commit 2dfb992349 )
2018-04-12 08:59:35 +02:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Evan Hunt
442c1530a3
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
(cherry picked from commit 80834b5b90 )
2018-03-09 16:17:56 -08:00
Mark Andrews
bf79ae278c
update printf format to match type
...
(cherry picked from commit 48ca11df5f )
2018-02-26 10:40:11 +11:00
Mark Andrews
4d8e501abe
improve the conditional declaration and use of variable to silence cppcheck
...
(cherry picked from commit a04bb76973 )
2018-02-26 10:40:11 +11:00
Mark Andrews
ab0805b73e
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 14:35:36 +11:00
Tinderbox User
a853d87fc4
update copyright notice / whitespace
2018-01-13 23:48:14 +00:00
Mukund Sivaraman
929329d2d6
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
...
(cherry picked from commit f96133826e )
(cherry picked from commit 0374e1c3fd )
2018-01-13 11:47:46 +05:30
Tinderbox User
5470c1cc10
update copyright notice / whitespace
2018-01-09 23:47:12 +00:00
Mark Andrews
f0353a586c
4860. [bug] isc_int8_t should be signed char. [RT #46973 ]
...
(cherry picked from commit 21f708c88c )
2018-01-10 08:42:21 +11:00
Tinderbox User
09b9db3c91
update copyright notice / whitespace
2018-01-02 23:46:09 +00:00
Mark Andrews
c3237dec87
4852. [bug] Handle strftime() failing in isc_time_formatISO8601ms.
...
Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601,
isc_time_formatISO8601ms. [RT #46892 ]
2018-01-02 10:46:41 +11:00
Mark Andrews
f8362536c6
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
(cherry picked from commit 92bbc9914c )
2017-11-02 10:43:18 +11:00
Mark Andrews
24231e53a5
4804. [port] win32: access() does not work on directories as
...
required by POSIX. Supply a alternative in
isc_file_isdirwritable. [RT #46394 ]
2017-11-01 09:39:08 +11:00
Michał Kępień
ad9772c559
[v9_11] Doxygen fixes and cleanups
...
4773. [doc] Fixed generating Doxygen documentation for functions
annotated using certain macros. Miscellaneous
Doxygen-related cleanups. [RT #46276 ]
(cherry picked from commit 2361003a88 )
2017-10-17 06:58:05 +02:00
Tinderbox User
aaec997e6c
update copyright notice / whitespace
2017-10-04 23:46:25 +00:00
Mark Andrews
9678018943
#undef inet_ntop
...
(cherry picked from commit 396125eefe )
2017-10-04 17:50:22 +11:00
Tinderbox User
a134177ed9
update copyright notice / whitespace
2017-10-03 23:46:31 +00:00
Mark Andrews
ad1317338a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
...
(cherry picked from commit a009d03a1a )
2017-10-03 14:55:33 +11:00
Michał Kępień
b351a58647
[v9_11] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
(cherry picked from commit c2179857de )
2017-09-18 08:34:53 +02:00
Mark Andrews
5a93d3be4e
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:33:02 +10:00
Tinderbox User
bd911976d5
update copyright notice / whitespace
2017-09-13 23:52:25 +00:00
Mark Andrews and Mukund Sivaraman
28a55095f7
add #include <isc/string.h>
...
(cherry picked from commit 4c9ba9ded8 )
2017-09-13 19:51:49 +05:30
Mukund Sivaraman
a13e9f894c
Add missing <isc/print.h>
...
(cherry picked from commit 188fa6ea68 )
2017-09-13 19:48:20 +05:30
Evan Hunt
7cd594b842
[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 )
2017-09-13 00:17:16 -07:00
Mark Andrews
c76e8412f4
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
...
(cherry picked from commit 34130ee25a )
2017-09-13 09:51:39 +10:00
Tinderbox User
3523e19da2
update copyright notice / whitespace
2017-08-09 23:49:39 +00:00
Evan Hunt
7dbeb5e7f0
[v9_11] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
(cherry picked from commit cdacec1dcb )
2017-08-09 00:24:16 -07:00
Tinderbox User
81baaebbc7
update copyright notice / whitespace
2017-08-02 23:57:18 +00:00
Mark Andrews
4162d3b36d
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
(cherry picked from commit 2019cf29e2 )
2017-08-03 08:45:37 +10:00
Mark Andrews
bfde61d519
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
(cherry picked from commit 4bf32aa587 )
2017-07-21 12:28:58 +10:00
Tinderbox User
2cda87d34f
update copyright notice / whitespace
2017-07-20 23:45:50 +00:00
Mark Andrews
8ed6c49f1a
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
(cherry picked from commit 124712666e )
2017-07-20 11:52:29 +10:00
Tinderbox User
8664a1bd40
update copyright notice / whitespace
2017-05-30 23:46:05 +00:00
Mark Andrews
032d2134a4
4629. [bug] dns_client_startupdate could not be called with a
...
running client. [RT #45277 ]
(cherry picked from commit e51d62ecae )
2017-05-30 09:52:45 +10:00
Tinderbox User
9a006fe9a0
update copyright notice / whitespace
2017-05-10 23:45:58 +00:00
Mark Andrews
cb9345c996
4620. [port] Handle EPFNOSUPPORT being returned when probing
...
to see if a socket type is supported. [RT #45214 ]
(cherry picked from commit d352a9db95 )
2017-05-11 07:58:44 +10:00
Evan Hunt
1ca2cf0243
[v9_11] update copyrights that had been missed recently
2017-04-23 17:07:59 -07:00
Evan Hunt
8b9c4592ed
[v9_11] give threads unique names to assist debugging
...
4602. [func] Threads are now set to human-readable
names to assist debugging, when supported by
the OS. [RT #43234 ]
(cherry picked from commit d26ae7fc08 )
2017-04-21 14:00:15 -07:00
Mark Andrews
1d0815a2b5
remove redundant $Id
2017-02-16 12:33:08 +11:00
Tinderbox User
48ba8af30c
update copyright notice / whitespace
2017-02-03 23:46:00 +00:00
Evan Hunt
a09e49f3f4
[v9_11] silence "unused value" warning
...
(cherry picked from commit f4d20b15a2 )
2017-02-03 11:27:00 -08:00
Mark Andrews
4901f2c10b
4567. [port] Call getprotobyname and getservbyname prior to calling
...
chroot so that shared libraries get loaded. [RT #44537 ]
(cherry picked from commit c550e75ade )
2017-02-03 14:23:01 +11:00
Evan Hunt
f1b29d8428
[v9_11] silence DSCP probing error
...
4529. [cleanup] Silence noisy log warning when DSCP probe fails
due to firewall rules. [RT #43847 ]
(cherry picked from commit f2c7ae114a )
2016-12-08 08:44:44 -08:00
Mark Andrews
d0c5ff7f65
4528. [bug] Only set the flag bits for the i/o we are waiting
...
for on EPOLLERR or EPOLLHUP. [RT #43617 ]
(cherry picked from commit c1619b8420 )
2016-12-08 17:00:37 +11:00