Commit Graph

748 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f363759739 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 18:39:28 +00:00
Love Hörnquist Åstrand
a7629e422f Spelling in comments, from Dave Love <fx@gnu.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 18:38:57 +00:00
Johan Danielsson
2807ca723b remove newline from syslog string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 16:40:05 +00:00
Love Hörnquist Åstrand
6cda86abca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 09:28:03 +00:00
Love Hörnquist Åstrand
f7f36911ed (Data): Use right variable. From Tomas Olsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 09:27:36 +00:00
Love Hörnquist Åstrand
e07d2b2d06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 17:18:07 +00:00
Love Hörnquist Åstrand
d448f74010 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 17:17:44 +00:00
Love Hörnquist Åstrand
af8272f96c Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 17:09:06 +00:00
Love Hörnquist Åstrand
8b804c1012 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 16:57:04 +00:00
Love Hörnquist Åstrand
235d18238c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:37:24 +00:00
Love Hörnquist Åstrand
cac19c86e7 Fix printing of /etc/issue{,.net}.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:37:04 +00:00
Love Hörnquist Åstrand
44c8c17c29 make writenet take const void * and size_t, abort if size it too large
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:36:16 +00:00
Love Hörnquist Åstrand
33ec7be97f Fix ansi c warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:35:39 +00:00
Love Hörnquist Åstrand
da3079056e no need to typecast argument to writenet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:35:04 +00:00
Love Hörnquist Åstrand
671b1a284f make writenet take const void * and size_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:34:26 +00:00
Assar Westerlund
e59a9eb876 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:06:53 +00:00
Assar Westerlund
f8c9e2d1ed Do not assume that des_key_schedule is an array.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:06:19 +00:00
Love Hörnquist Åstrand
3a721fe1b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 15:17:57 +00:00
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