Commit Graph

830 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
13525ea454 case uid_t to unsigned long in printf format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:47:20 +00:00
Love Hörnquist Åstrand
b5bf953b97 (set_termbuf): use {} around if to make else unambiguous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:42:04 +00:00
Love Hörnquist Åstrand
fc578bb215 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:36:47 +00:00
Love Hörnquist Åstrand
3fe17e04c4 (start_login): put utmpx code into a new scope to avoid pre c99 problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-20 08:35:51 +00:00
Love Hörnquist Åstrand
035f9890c9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:25:04 +00:00
Love Hörnquist Åstrand
a934d46ac0 Make Solaris find tgetent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:22:53 +00:00
Johan Danielsson
8e639e2e4e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 14:21:03 +00:00
Johan Danielsson
40b1dab5bd (start_login): set encryption pointers to NULL, so we don't try to do
either


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 14:20:38 +00:00
Love Hörnquist Åstrand
bae5bd65ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:05:56 +00:00
Love Hörnquist Åstrand
1cbf9cd859 undef ISASCII before we define our own (problem on Irix)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:05:43 +00:00
Johan Danielsson
9759809596 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 16:36:56 +00:00
Johan Danielsson
60fe67f93b (putf): %t: the regular and streamspty case are functionally
equivalent, so merge them, this also makes it work better on machines
that puts their devices in a subdirectory to /dev


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 16:36:32 +00:00
Love Hörnquist Åstrand
74cf698513 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:09:11 +00:00
Love Hörnquist Åstrand
a3bb5d884c (getpty): Declare p.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:02:18 +00:00
Love Hörnquist Åstrand
297657a66d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:20:20 +00:00
Love Hörnquist Åstrand
53624218c7 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:15:15 +00:00
Love Hörnquist Åstrand
99402741d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 21:00:21 +00:00
Love Hörnquist Åstrand
5ff49eff33 remove another strcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:59:35 +00:00
Love Hörnquist Åstrand
c48cc3386e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 13:36:48 +00:00
Love Hörnquist Åstrand
0ffd30a6e4 rewrite getpty to make use openpty when its found, save the slave fd
so that cleanopen can use it if its available


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 13:36:20 +00:00
Love Hörnquist Åstrand
7adcb73bb8 include krb5.h to avoid krb5_getportbyname warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:33:18 +00:00
Love Hörnquist Åstrand
99c49b8e69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 13:12:47 +00:00
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