Commit Graph

14356 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2bc7e95431 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:17:21 +00:00
Love Hörnquist Åstrand
01d4d3ef29 Argument to create_new_ccache is a principal, not a credential cache name.
Clean up lossage related to this problem.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:17:00 +00:00
Love Hörnquist Åstrand
44feff968e CHECK_SYMBOLS += HDBFlags2int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:12:27 +00:00
Love Hörnquist Åstrand
e675686719 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 12:09:29 +00:00
Love Hörnquist Åstrand
c1465d2937 assume symbols prefixed with _ is a sideeffekt of the local linker and
also just fine


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 12:09:06 +00:00
Love Hörnquist Åstrand
8663e85292 (krb5_address_prefixlen_boundary,krb5_free_address): use find_atype
when we are dealing with a kerberos address type


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 12:04:41 +00:00
Love Hörnquist Åstrand
401620865e size_t vs int + fix printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:12:31 +00:00
Johan Danielsson
5a1b9bec7a (do_version4): fix stupid error in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:01:02 +00:00
Love Hörnquist Åstrand
1c0bae5c0a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:55:21 +00:00
Love Hörnquist Åstrand
6611feed76 Since the decode can't make out the diffrence between PA-PK-AS-REP-19
and PA-PK-AS-REQ-Win2k, try harder to verify both cases


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:54:45 +00:00
Love Hörnquist Åstrand
e0d75a3766 make generation of pa data into a switch instead of a bitmask
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:24:01 +00:00
Love Hörnquist Åstrand
cc56ff64fe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-03 19:54:25 +00:00
Love Hörnquist Åstrand
f7a0ee5acf print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-03 19:53:32 +00:00
Love Hörnquist Åstrand
c02d9c6872 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:21:57 +00:00
Love Hörnquist Åstrand
626555bfd3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:16:24 +00:00
Love Hörnquist Åstrand
d17c7b3d8d "must set with '=' before using '+='"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:08:40 +00:00
Johan Danielsson
0a9b41aa28 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:53:31 +00:00
Johan Danielsson
ffa0f87aa6 (do_version4): check client and server max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:53:18 +00:00
Johan Danielsson
441228af89 (do_getticket): check client max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:47:40 +00:00
Love Hörnquist Åstrand
7bb695aa15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 09:00:49 +00:00
Love Hörnquist Åstrand
b42998d374 (gssapi_krb5_verify_8003_checksum): check that cksum isn't NULL
From: Nicolas Pouvesle <npouvesle@tenablesecurity.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:55:36 +00:00
Love Hörnquist Åstrand
227fcde20c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:40:57 +00:00
Love Hörnquist Åstrand
55e1336d94 (try): reset va_list argument between reuse, from Peter Kruty <xkruty@fi.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:40:40 +00:00
Love Hörnquist Åstrand
6ac6552a8a const poison
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:47:55 +00:00
Love Hörnquist Åstrand
381c3f8b41 const poison
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:37:42 +00:00
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