Commit Graph

715 Commits

Author SHA1 Message Date
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
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