Mark Andrews
a922385850
mem.c failed to compile if ISC_MEM_CHECKOVERRUN=0
2018-01-05 12:13:17 +11:00
Tinderbox User
10e49fc83b
update copyright notice / whitespace
2018-01-04 23:45:32 +00:00
Mark Andrews
a0e66ef6dd
unconditionally typedef summarystat_t for coverity
2018-01-05 10:10:34 +11:00
Tinderbox User
a280a7871d
update copyright notice / whitespace
2018-01-03 23:45:29 +00:00
Mark Andrews
1e10ef06ce
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
2018-01-04 09:57:40 +11:00
Tinderbox User
7bba3a7c44
update copyright notice / whitespace
2018-01-02 23:45:28 +00:00
Mark Andrews
0645f8f1ce
4853. [bug] Add REQUIRE's and INSIST's to isc_time_formatISO8601L
...
and isc_time_formatISO8601Lms. [RT #46916 ]
2018-01-02 10:57:31 +11:00
Mark Andrews
7770e0b069
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:48:08 +11:00
Tinderbox User
903662d5c3
regen master
2017-12-29 01:44:18 +00:00
Tinderbox User
015c017dfa
regen master
2017-12-29 01:04:39 +00:00
Evan Hunt
c4f9d720eb
[master] copyrights
2017-12-06 09:24:36 -08:00
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Evan Hunt
61c843815e
[master] copyrights/whitespace
2017-11-30 14:51:50 -08:00
Evan Hunt
2f855055ed
[master] prep 9.12.0rc1
2017-11-30 14:39:16 -08:00
Ondřej Surý
a4a148cf9a
[master] Type the shifted values to isc_uint32_t so the top bit is unsigned (found by UBSAN) [RT #46740 ]
2017-11-30 18:23:35 +01:00
Mark Andrews
9ddf7d6c4c
4833. [bug] isc_event_free should check that the event is not
...
linked when called. [RT #46725 ]
4832. [bug] Events were not being removed from zone->rss_events.
[RT #46725 ]
2017-11-30 10:31:44 +11:00
Tinderbox User
34075107ba
update copyright notice / whitespace
2017-11-28 23:45:35 +00:00
Mark Andrews
65a483106e
4829. [bug] isc_heap_delete did not zero the index value when
...
the heap was created with a callback to do that.
[RT #46709 ]
2017-11-28 18:49:52 +11:00
Tinderbox User
393135d693
update copyright notice / whitespace
2017-11-27 23:46:24 +00:00
Mark Andrews
19f6a63184
More:
...
4819. [bug] Fully backout the transaction when adding a RRset
to the resigning / removal heaps fails. [RT #46473 ]
2017-11-27 15:15:41 +11:00
Mark Andrews
14e9925868
add missing entries to .def files [RT #46215 ]
2017-11-27 13:49:39 +11:00
Mark Andrews
9bb32395b2
silence compiler warning [RT #46471 ]
2017-11-23 17:01:40 +11:00
Mark Andrews
e03e455cd5
whitespace
2017-11-08 23:30:46 +11:00
Mark Andrews
a1a5145867
4811. [bug] Revert api changes to use <isc/buffer.h> inline
...
macros. Provide a alternative mechanism to turn
on the use of inline macros when building BIND.
[RT #46520 ]
2017-11-08 23:28:10 +11:00
Tinderbox User
e6801bf89e
update copyright notice / whitespace
2017-11-06 23:45:48 +00:00
Mukund Sivaraman
7e1df5182c
[master] isc_rng_randombytes()
...
4807. [cleanup] isc_rng_randombytes() returns a specified number of
bytes from the PRNG; this is now used instead of
calling isc_rng_random() multiple times. [RT #46230 ]
2017-11-06 10:44:37 -08:00
Evan Hunt
8d23105547
[master] prep 9.12.0b2
2017-11-02 11:50:07 -07:00
Mark Andrews
92bbc9914c
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
2017-11-02 10:42:42 +11:00
Tinderbox User
db15f78ad7
update copyright notice / whitespace
2017-10-31 23:45:54 +00:00
Mark Andrews
ff30290b48
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:29:24 +11:00
Evan Hunt
959d294067
[master] remove isc-hmac-fixup
...
4797. [func] Removed "isc-hmac-fixup", as the versions of BIND that
had the bug it worked around are long past end of
life. [RT #46411 ]
2017-10-27 09:56:11 -07:00
Evan Hunt
5c76f3664c
[master] enable ISC_BUFFER_USEINLINE to be overridden
2017-10-25 21:42:56 -07:00
Mark Andrews
5ff48dca18
#include <inttypes.h>
2017-10-20 16:36:07 +11:00
Mark Andrews
66258ca349
4776. [bug] Improve portability of ht_test. [RT #46333 ]
2017-10-20 16:04:59 +11:00
Tinderbox User
429a43b720
update copyright notice / whitespace
2017-10-19 23:46:02 +00:00
Mark Andrews
0fab171196
s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
2017-10-19 16:39:53 +11:00
Mark Andrews
583e355951
4775. [bug] Address Coverity warnings in ht_test.c and mem_test.c
...
[RT #46281 ]
2017-10-19 13:08:31 +11:00
Mark Andrews
fe79e2efbf
4774. [bug] <isc/util.h> was incorrectly included in several
...
header files. [RT #46311 ]
2017-10-19 12:26:32 +11:00
Michał Kępień
2361003a88
[master] Doxygen fixes and cleanups
...
4773. [doc] Fixed generating Doxygen documentation for functions
annotated using certain macros. Miscellaneous
Doxygen-related cleanups. [RT #46276 ]
2017-10-17 06:56:46 +02:00
Evan Hunt
99ab7127e1
[master] prep 9.12.0b1
2017-10-11 21:10:49 -07:00
Michał Kępień
0d61fe5dfd
[master] Remove non-portable isc_buffer_printf() unit test
2017-10-11 09:30:48 +02:00
Tinderbox User
5414e48606
update copyright notice / whitespace
2017-10-09 23:45:53 +00:00
Evan Hunt
4c368378fc
[master] print.h; add missing win32 declaration
2017-10-09 15:01:46 -07:00
Evan Hunt
c89f1bf1b6
[master] turn off memory fill by default
...
4768. [func] By default, memory is no longer filled with tag values
when it is allocated or freed; this improves
performance but makes debugging of certain memory
issues more difficult. "named -M fill" turns memory
filling back on. (Building "configure
--enable-developer", turns memory fill on by
default again; it can then be disabled with
"named -M nofill".) [RT #45123 ]
2017-10-09 09:55:37 -07:00
Michał Kępień
077f9626c2
[master] Add isc_buffer_printf()
...
4767. [func] Add a new function, isc_buffer_printf(), which can be
used to append a formatted string to the used region of
a buffer. [RT #46201 ]
2017-10-09 11:43:07 +02:00
Evan Hunt
4c6df1653c
[master] add missing names
2017-10-06 17:38:35 -07:00
Evan Hunt
995c41e8f0
[master] further restrict update-policy local
...
4762. [func] "update-policy local" is now restricted to updates
from local addresses. (Previously, other addresses
were allowed so long as updates were signed by the
local session key.) [RT #45492 ]
2017-10-06 15:43:31 -07:00
Tinderbox User
7ac51a8380
update copyright notice / whitespace
2017-10-04 23:45:46 +00:00
Mark Andrews
e541ee4599
silence compiler warning
2017-10-04 18:07:01 +11:00
Mark Andrews
396125eefe
#undef inet_ntop
2017-10-04 17:50:01 +11:00
Mark Andrews
5fcdb09126
4752. [test] Add unit test for isc_net_pton. [RT #46171 ]
2017-10-04 14:10:40 +11:00
Evan Hunt
0bb0890867
[master] missing declaration of INSIST
2017-10-03 20:02:38 -07:00
Tinderbox User
ca0ae70046
update copyright notice / whitespace
2017-10-03 23:45:48 +00:00
Mark Andrews
a009d03a1a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
2017-10-03 14:54:19 +11:00
Tinderbox User
791aa3e9be
update copyright notice / whitespace
2017-09-28 23:45:49 +00:00
Evan Hunt
24172bd2ee
[master] completed and corrected the crypto-random change
...
4724. [func] By default, BIND now uses the random number
functions provided by the crypto library (i.e.,
OpenSSL or a PKCS#11 provider) as a source of
randomness rather than /dev/random. This is
suitable for virtual machine environments
which have limited entropy pools and lack
hardware random number generators.
This can be overridden by specifying another
entropy source via the "random-device" option
in named.conf, or via the -r command line option;
however, for functions requiring full cryptographic
strength, such as DNSSEC key generation, this
cannot be overridden. In particular, the -r
command line option no longer has any effect on
dnssec-keygen.
This can be disabled by building with
"configure --disable-crypto-rand".
[RT #31459 ] [RT #46047 ]
2017-09-28 10:09:22 -07:00
Tinderbox User
e880197f31
update copyright notice / whitespace
2017-09-27 23:45:52 +00:00
Mukund Sivaraman
abb8813a33
Make isc_refcount_current() atomically read the counter value ( #46074 )
2017-09-27 15:09:04 +05:30
Mark Andrews
2495de04a5
use %u and cast to unsigned int
2017-09-27 17:57:07 +10:00
Mark Andrews
42ee853c23
check for ISC_R_EOF
2017-09-27 16:19:07 +10:00
Mark Andrews
73074e954a
4740. [cleanup] Avoid triggering format-truncated warnings. [RT #46107 ]
2017-09-27 16:02:02 +10:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Mukund Sivaraman
fb9712f639
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
2017-09-22 15:14:04 +05:30
Mark Andrews
6138c5a5e4
#include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
2017-09-22 18:08:54 +10:00
Tinderbox User
8200eb4c60
update copyright notice / whitespace
2017-09-21 23:47:11 +00:00
Mark Andrews
af7ded82e0
alphabetise
2017-09-21 17:48:26 +10:00
Tinderbox User
243b3ec486
regen master
2017-09-21 07:23:48 +00:00
Mark Andrews
f8c82bbf39
#include <stdint.h>
2017-09-21 14:18:59 +10:00
Mark Andrews
e8703033c5
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:41:22 +10:00
Mark Andrews
d17cf1cade
explicitly list test programs
2017-09-21 12:56:33 +10:00
Tinderbox User
ffbe6b9537
update copyright notice / whitespace
2017-09-19 23:46:23 +00:00
Mukund Sivaraman
d5707676e4
Don't use memset() to wipe memory ( #45947 )
2017-09-19 16:16:45 +05:30
Mukund Sivaraman
404c9b1c53
Use C11's stdatomic.h instead of isc_atomic where available
2017-09-19 15:43:45 +05:30
Tinderbox User
cb5bc50c91
update copyright notice / whitespace
2017-09-18 23:48:50 +00:00
Michał Kępień
c2179857de
[master] 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 ]
2017-09-18 08:34:41 +02:00
Tinderbox User
0b115f3b55
update copyright notice / whitespace
2017-09-16 23:46:04 +00:00
Francis Dupont
ad67f0bb42
Added isc_entropy_sethook in exported symbols
2017-09-16 15:57:06 +02:00
Francis Dupont
5fc7163211
Added isc_entropy_usehook in exported symbols
2017-09-16 15:56:13 +02:00
Francis Dupont
9c829f4f96
Merged rt31459d (openssl random)
2017-09-16 13:53:29 +02:00
Tinderbox User
f54a365aeb
update copyright notice / whitespace
2017-09-14 23:46:40 +00:00
Mark Andrews
c59bf663e8
silence warning
2017-09-14 19:02:27 +10:00
Mark Andrews
bace03316c
#include <isc/string.h>
...
(cherry picked from commit 7eb73f6288 )
2017-09-14 18:59:04 +10:00
Mark Andrews
5fb0c09a5e
#include <isc/string.h>
2017-09-14 18:54:46 +10:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Mukund Sivaraman
188fa6ea68
Add missing <isc/print.h>
2017-09-13 19:44:47 +05:30
Mukund Sivaraman
8997fc0a3f
Tweak hash_test.c further, passing sizeof(str)
2017-09-13 19:30:03 +05:30
Mukund Sivaraman
a2873eabf6
Tweak
2017-09-13 19:22:03 +05:30
Mukund Sivaraman
bc5e0a6868
Fix size of output string in hash tests
2017-09-13 19:21:08 +05:30
Mark Andrews
4c9ba9ded8
add #include <isc/string.h>
2017-09-13 23:43:43 +10:00
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Evan Hunt
586e65ea5c
[rt31459d] rebased rt31459c
2017-09-12 19:05:46 -07:00
Mark Andrews
34130ee25a
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
2017-09-13 09:50:51 +10:00
Tinderbox User
1e33899f86
update copyright notice / whitespace
2017-09-12 23:46:14 +00:00
Evan Hunt
7ffd6934ba
[master] install include files
2017-09-12 10:38:22 -07:00
Evan Hunt
a9dfb7ef6e
[master] update copyrights, bump release tag
2017-09-11 22:06:05 -07:00
Mark Andrews
c75e9c7630
4714. [port] openbsd/libressl: add support for building with
...
--enable-openssl-hash. [RT #45982 ]
2017-09-12 14:19:10 +10:00
Evan Hunt
0c9683cff8
[master] prep 9.12.0a1
2017-09-11 17:30:39 -07:00
Tinderbox User
672586440b
update copyright notice / whitespace
2017-09-09 23:46:01 +00:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00