Mark Andrews
e6012d7b37
pullup:
...
Fixes for error handling that were missing in previous commit.
2002-02-19 00:40:09 +00:00
cvs2git
a51c70decc
This commit was manufactured by cvs2git to create branch 'v9_2'.
2002-02-08 05:42:25 +00:00
Mark Andrews
73d7583d98
update copyrights
2002-02-08 03:57:47 +00:00
Danny Mayer
c6d29fbd5f
Added isc_fsaccess_changeowner function similar to the code to set file access attributes
2002-02-02 01:01:15 +00:00
Mark Andrews
323de351b3
update for 9.2.1rc1
2002-01-25 04:21:19 +00:00
Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Mark Andrews
fa85f47357
pullup:
...
1108. [bug] On Win32, rndc was hanging when named was not running
due to failure to select for exceptional conditions
in select(). [RT #1870 ]
win32 fixes for:
1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
address.
1066. [bug] Provide a thread safe wrapper for strerror().
[RT #1689 ] (socket.c only)
General cleanup from mainline.
2002-01-25 00:24:58 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Mark Andrews
8a044e464b
pullup:
...
1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
address.
(from JINMEI Tatuya)
2002-01-24 23:22:25 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Mark Andrews
622a5774e6
pullup:
...
1189. [bug] On some systems, malloc(0) returns NULL, which
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-23 03:09:31 +00:00
Andreas Gustafsson
4c7c397275
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-23 02:35:56 +00:00
Andreas Gustafsson
e47a6956a1
pullup:
...
1173. [bug] Potential memory leaks in isc_log_create() and
isc_log_settag(). [RT #2336 ]
2002-01-23 01:31:15 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Andreas Gustafsson
7366e9c47d
pullup:
...
1174. [bug] Win32: add WSAECONNRESET to the expected errors
from connect(). [RT #2308 ]
2002-01-23 01:07:54 +00:00
Mark Andrews
a818127616
pullup: cut-and-paste-o:s
2002-01-23 00:11:14 +00:00
Andreas Gustafsson
d7224e6672
pullup:
...
reference after free in error path.
2002-01-22 23:17:44 +00:00
Brian Wellington
fca9cc33ad
1189. [bug] On some systems, malloc(0) returns NULL, which
...
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-22 15:40:24 +00:00
Mark Andrews
8ac220d5cc
pullup:
...
1186. [bug] isc_hex_tobuffer(,,length = 0) failed to unget the
EOL token when reading to end of line.
2002-01-22 06:08:47 +00:00
Mark Andrews
2bffec87ac
pullup:
...
Out of date comment.
2002-01-22 05:00:30 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Brian Wellington
6e8b843125
When parsing a hex string of unknown length, properly unget the EOL token
...
at the end. This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8
1173. [bug] Potential leaks in isc_log_create() and
...
isc_log_settag(). [RT #2336 ]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
c36f45e354
1163. [func] isc_time_formattimestamp() will now reports the year.
...
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Brian Wellington
fefd6c28ab
1161. [bug] named-checkzone looped on unbalanced brackets.
...
[RT #2248 ]
2001-12-13 06:17:34 +00:00
Mark Andrews
23fb770906
1161. [bug] named-checkzone looped on unbalanced brackets.
...
[RT #2248 ]
2001-12-13 06:13:44 +00:00
Mark Andrews
21b1491aa2
pullup:
...
1154. [bug] Don't attempt to obtain the netmask of a interface
if there is no address configured. [RT #2176 ]
2001-12-12 00:16:47 +00:00
Brian Wellington
e128be1387
track the size of memory blocks when debugging is enabled.
2001-12-05 19:13:26 +00:00
Mark Andrews
111e3433d2
1154. [bug] When scanning interfaces skip the interface
...
if address no address is configured. [RT #2176 ]
2001-12-03 04:41:42 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
242bba8991
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Danny Mayer
d67b892041
isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message
2001-11-22 03:08:12 +00:00
Mark Andrews
402313b3db
pullup:
...
1134. [bug] Multithreaded servers could deadlock in ferror()
when reloading zone files. [RT #1951 , #1998 ]
2001-11-22 01:23:19 +00:00
Andreas Gustafsson
887c9d05c2
pullup:
...
1133. [bug] IN6_IS_ADDR_LOOPBACK was not portably defined on
platforms without IN6_IS_ADDR_LOOPBACK. [RT #2106 ]
2001-11-22 00:22:02 +00:00
Andreas Gustafsson
d9d6d2f77f
1134. [bug] Multithreaded servers could deadlock in ferror()
...
when reloading zone files. [RT #1951 , #1998 ]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38
1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
...
without IN6_IS_ADDR_LOOPBACK. [RT #2106 ]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
6cd7bd1fb5
spacing
2001-11-19 22:32:04 +00:00