Commit Graph
71 Commits
Author SHA1 Message Date
Mark Andrews b7c19f168f use %u instead of %d 2018-02-16 14:24:44 +11: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
Mark Andrews 4f851656c4 #include <isc/string.h>
(cherry picked from commit 5fb0c09a5e)
2017-09-14 18:55:15 +10: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
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 0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Tinderbox User 452a29e62c update copyright notice / whitespace 2015-04-28 23:45:24 +00:00
Mark Andrews b292230ab8 4110. [bug] Address memory leaks / null pointer dereferences
on out of memory. [RT #39310]
2015-04-29 03:16:50 +10:00
Tinderbox User 2d50cce72e update copyright notice 2014-04-26 23:45:20 +00:00
Mark Andrews 4aaaaadeae silence warnings 2014-04-26 23:42:37 +10:00
Mark Andrews c3c8823fed 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]
2013-12-04 12:47:23 +11:00
Tinderbox User 08df939613 update copyright notice 2013-04-11 23:46:07 +00:00
Mark Andrews 45b727f651 silence coverity warnings 2013-04-11 17:07:50 +10:00
Tinderbox User 0837549bd6 update copyright notice 2012-10-29 23:46:34 +00:00
Mark Andrews f83542787f 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values
2012-10-29 20:04:59 +11:00
Mark Andrews 240e53b132 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:27:54 +00:00
Automatic Updater 1d16cf8bb8 update copyright notice 2008-07-22 23:47:04 +00:00
Mark Andrews 9de0f9b0ae 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:43:04 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 16a68807e1 1704. [port] lwres needed a snprintf() implementation for
platforms without snprintf().  Add missing
                        "#include <isc/print.h>". [RT #12321]
2004-08-28 06:20:14 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Andreas Gustafsson 91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington 142784f574 #include <string.h> 2000-11-10 05:34:16 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 6dcde6ca36 update_copyrights 2000-06-22 01:27:11 +00:00
David Lawrence 1b6d529cb5 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence 1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Brian Wellington 7df0472d8a Added isc/util.h 2000-04-28 02:12:16 +00:00
Michael Graff e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley 738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff d213c95024 Fetch an URL that exists 1999-09-02 20:52:13 +00:00
Michael Graff c9b758b7c3 ipv4/ipv6 changes 1999-08-28 04:29:04 +00:00
Michael Graff d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Bob Halley 2f3cfa8c02 isc_net_haveipvN to isc_net_probeipvN 1999-07-19 23:54:09 +00:00
Bob Halley 6e9eb94521 use IPv6 sockets if we have them 1999-07-15 20:16:48 +00:00
Bob Halley ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Bob Halley f21dcf7d07 conform to revised socket api 1999-07-07 02:02:52 +00:00
Bob Halley 121ac7295f deal with new event structure 1999-06-09 23:30:46 +00:00
Michael Graff f12aba1ef8 fix. Grr. 1999-05-31 20:56:54 +00:00
Michael Graff 7bf75b4ca4 socket test cleanup, round 4 1999-05-25 23:18:16 +00:00
Michael Graff 300cb0a397 clean up quite a bit 1999-05-22 10:42:55 +00:00
Michael Graff 4a9478d4ca make the test really print out all the characters again. Ooops. 1999-03-30 06:37:00 +00:00
Michael Graff 882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Bob Halley 2c711cbace new task stuff 1999-01-15 01:38:28 +00:00