Commit Graph

14331 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
61e8cc87ed wrap IPv6 test code with HAVE_IPV6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:15:32 +00:00
Love Hörnquist Åstrand
8835d48518 test parse IPv6 RANGE addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:13:28 +00:00
Love Hörnquist Åstrand
1fffb1a13a implement mask boundary for IPv6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:11:14 +00:00
Love Hörnquist Åstrand
6d7b7f51f7 avoid const string warnings steming from writeable-string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:08:58 +00:00
Love Hörnquist Åstrand
21b6751d15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 23:59:47 +00:00
Love Hörnquist Åstrand
205d62f211 avoid const string and strict aliasing warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 23:58:53 +00:00
Love Hörnquist Åstrand
3eeb75e552 make previous commit really work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 16:53:19 +00:00
Love Hörnquist Åstrand
bac06ed5bd (roken_gethostby): s/sin/addr/ to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 16:50:02 +00:00
Love Hörnquist Åstrand
f4727981b9 (dns_lookup_int): s/stat/state/ to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 16:47:18 +00:00
Love Hörnquist Åstrand
dbba0be7b2 avoid shadowing div
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-30 16:43:52 +00:00
Love Hörnquist Åstrand
4e447ca6d4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:48:26 +00:00
Love Hörnquist Åstrand
02805ed17d From FreeBSD:
Correct a pair of buffer overflows in the telnet(1) command:

   (CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
   functions.

   (CAN-2005-0469) A global uninitialized data section buffer overflow in
   slc_add_reply() and related functions.

  As a result of these vulnerabilities, it may be possible for a malicious
  telnet server or active network attacker to cause telnet(1) to execute
  arbitrary code with the privileges of the user running it.

  Security: CAN-2005-0468, CAN-2005-0469
  Security: FreeBSD-SA-05:01.telnet
  Security: http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities
  Security: http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities

  These fixes are based in part on patches
  Submitted by:   Solar Designer <solar@openwall.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:43:34 +00:00
Love Hörnquist Åstrand
f0683a224b TESTS += test_addr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:20:16 +00:00
Love Hörnquist Åstrand
d188c2271b simple test for addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:18:21 +00:00
Love Hörnquist Åstrand
90fff550fa make RANGE parse prefixlen style addresses too, fix printing of RANGE
addresses, add krb5_address_prefixlen_boundary


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:16:43 +00:00
Love Hörnquist Åstrand
c83462ad02 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 15:06:39 +00:00
Love Hörnquist Åstrand
9c4d1ce62a stop memory leak in example, expand on wildcards
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 15:05:43 +00:00
Love Hörnquist Åstrand
684c1acb7b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 11:13:48 +00:00
Love Hörnquist Åstrand
dda06c4682 use defined(TEST_SNPRINTF) like on all other places in the same file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 11:13:06 +00:00
Love Hörnquist Åstrand
ad6076e436 List of attributes, from James F. Hranicky <jfh@cise.ufl.edu>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 10:10:56 +00:00
Love Hörnquist Åstrand
6d819f21b9 spelling, from Tomas Olsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 10:04:48 +00:00
Love Hörnquist Åstrand
52589a0be9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:25:06 +00:00
Love Hörnquist Åstrand
692e21b3e7 remove setting of DES_check_key, all code uses DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:22:39 +00:00
Love Hörnquist Åstrand
07757ea5a2 use DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:19:31 +00:00
Love Hörnquist Åstrand
269f9185cd fix prototype for DES_random_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:16:51 +00:00
Love Hörnquist Åstrand
cea4587bf4 (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:36:27 +00:00
Love Hörnquist Åstrand
866e877d04 provide c99 types to the built-in libdes functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:34:36 +00:00
Love Hörnquist Åstrand
89b6cbfc45 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:32:20 +00:00
Love Hörnquist Åstrand
21382af672 provide compatibility function DES_key_sched, same as DES_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:31:13 +00:00
Love Hörnquist Åstrand
efefe92a1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 14:03:08 +00:00
Love Hörnquist Åstrand
e05b80a59d use $(LIB_roken)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:58:27 +00:00
Love Hörnquist Åstrand
18a62a3ee4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:43:58 +00:00
Love Hörnquist Åstrand
6fbd71cdfb Make editline a non-static library and let libtool decide (same with
libel_compat). This way libedit will build shared version is the
library that is possible to link with other shared lib if its needed.
Also make libed_compat a libtool convenience library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:39:10 +00:00
Love Hörnquist Åstrand
20e1990667 check for overflows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:31:33 +00:00
Love Hörnquist Åstrand
694ff5984b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:22:10 +00:00
Love Hörnquist Åstrand
181c13afdc include config.h and protect some headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:20:31 +00:00
Love Hörnquist Åstrand
19cd43777f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:14:02 +00:00
Love Hörnquist Åstrand
ce454647a2 move <des.h> to after include <krb5-types.h> so the C99 integer types exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:12:19 +00:00
Love Hörnquist Åstrand
7c6b360f3a (make_ccred_from_cred): addresses is filled in now, remove comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 18:01:15 +00:00
Love Hörnquist Åstrand
d87eb9758e add mutex for global variables, clean up returned error codes,
implement storing addresses into the ccapi


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 17:41:22 +00:00
Love Hörnquist Åstrand
de0e232d51 free memory, make error strings match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 04:37:30 +00:00
Love Hörnquist Åstrand
334bc9635f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:19:14 +00:00
Love Hörnquist Åstrand
9276f222b9 use print_gss_name, print server name too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:17:30 +00:00
Love Hörnquist Åstrand
8e12e63ee3 (print_gss_name): common code for printing gss name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:13:14 +00:00
Love Hörnquist Åstrand
03c91061ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:54:45 +00:00
Love Hörnquist Åstrand
b925aac02c Make constent with rest of the gssapi test programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:52:26 +00:00
Love Hörnquist Åstrand
1b28bc69c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 17:23:57 +00:00
Love Hörnquist Åstrand
7d0ee53c06 use $Id$, not the mangled netbsd version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 17:01:29 +00:00
Love Hörnquist Åstrand
fc71467948 use RCSID instead of __RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 16:59:04 +00:00
Love Hörnquist Åstrand
a93fe0ed4d (hex_encode): wrap SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 13:25:35 +00:00