Commit Graph

708 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
96e25e02a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:50 +00:00
Love Hörnquist Åstrand
50d9ed5566 clean_ttyname might be unused, mark it so with __attribute__
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:29 +00:00
Love Hörnquist Åstrand
c41860a8ee use NULL as last argument to execl, not 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:54 +00:00
Love Hörnquist Åstrand
b88827c01d use NULL as last argument to execl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:20:32 +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
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
0380823194 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:20:32 +00:00
Love Hörnquist Åstrand
915454f2fd cast argument to toupper to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:17:58 +00:00
Love Hörnquist Åstrand
ee872ac323 cast argument to is* to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:16:44 +00:00
Johan Danielsson
60369967af remove const from argument list passed to execv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 13:03:10 +00:00
Johan Danielsson
8637e345dd move extern decl out of function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:53:34 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
a31166df82 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:38:09 +00:00
Love Hörnquist Åstrand
328012138b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:07:56 +00:00
Love Hörnquist Åstrand
45025e58d9 make network rings larger
From: MAAAAA MOOOR <huaraz@btinternet.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:01:28 +00:00
Love Hörnquist Åstrand
a69172cd39 make subbuffer larger XXX resize dynamicly
From: MAAAAA MOOOR <huaraz@btinternet.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:00:38 +00:00
Love Hörnquist Åstrand
ebd6d7be6e (Data): allocate the data needed to be send
From: MAAAAA MOOOR <huaraz@btinternet.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 16:57:51 +00:00
Love Hörnquist Åstrand
5edf0a5e6d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-02 21:30:39 +00:00
Love Hörnquist Åstrand
f651b63831 make encrypt, forwardable, forward use appdefault (that also searches
libdefaults), prompted by Thomas Nystrom <thn@saeab.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-02 21:28:48 +00:00
Love Hörnquist Åstrand
ea2adde03f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 18:09:26 +00:00
Love Hörnquist Åstrand
f026b13d65 call setprogname to make libvers happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 18:07:49 +00:00
Love Hörnquist Åstrand
bafd53eb2d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:41 +00:00
Love Hörnquist Åstrand
1836e6e9f7 export Scheduler and scheduler_lockout_tty
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:24 +00:00
Love Hörnquist Åstrand
1efd89da9d (my_telnet): if telnet_spin returns failure, complain that the server
disconnected and exit


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:02 +00:00
Love Hörnquist Åstrand
b2b4d18c3e (telnet_spin): if Scheduler() returns failure (-1) propagate to higher level
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:45:51 +00:00
Love Hörnquist Åstrand
612ba5c47a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:55:08 +00:00
Love Hörnquist Åstrand
b6b6ef861a use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:53 +00:00
Love Hörnquist Åstrand
bf6845d115 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:38:40 +00:00
Love Hörnquist Åstrand
03f9a30177 use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:27 +00:00
Love Hörnquist Åstrand
1df5b33550 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:28:08 +00:00
Love Hörnquist Åstrand
39770a3afa replace <,> with \*[Lt],\*[Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:22:44 +00:00
Johan Danielsson
549c2f9d5f also try to use the session key (if this is really correct is beyond
me, RFC2942 in unclear on this point)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:37:46 +00:00
Johan Danielsson
d0f02062c7 (kerberos5_is): check that the subkey is non-NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-20 14:12:57 +00:00
Johan Danielsson
77de2f4011 use crypto-headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:03:49 +00:00
Johan Danielsson
d9b6a5a526 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 13:30:16 +00:00
Johan Danielsson
12a60da9a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:37:28 +00:00
Johan Danielsson
ccf0fabb51 set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:33:20 +00:00
Johan Danielsson
922bc761de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:05:44 +00:00
Johan Danielsson
b0afe6ba19 rename functions to what they're really called
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:05:22 +00:00
Johan Danielsson
ee45afa85d kill some might be uninitialized warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:04:59 +00:00
Johan Danielsson
176d619a93 add forward and forwardable toggle options, and call
set_forward_options() after parsing .telnetrc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:59:43 +00:00
Johan Danielsson
9fb05b0a00 proto for set_forward_options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:58:23 +00:00
Johan Danielsson
a0f0bbfa08 only register what forwarding options are asked for when parsing
command line, we have to set the actual flags later after we have read
.telnetrc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:57:40 +00:00
Johan Danielsson
8ffc68bb79 kerberos5_set_forward{,able} protos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:56:14 +00:00
Johan Danielsson
e8c18ff436 add kerberos5_set_forward{,able} functions suitable for the command parser
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:55:53 +00:00
Johan Danielsson
c526f461d4 remove extra "Toggle"'s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:13:20 +00:00
Johan Danielsson
71b0da6844 IRIX == 4 -> IRIX4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:09:11 +00:00