Love Hörnquist Åstrand
f651d08834
add check that snprintf doesn't write the NUL into the last byte when
...
its a zero length input string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:03:57 +00:00
Love Hörnquist Åstrand
45032b3505
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:42 +00:00
Love Hörnquist Åstrand
b904f38205
Include <err.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:29 +00:00
Love Hörnquist Åstrand
182ae6f388
Include <des.h>.
...
(UI_UTIL_read_pw_string): make the prompt argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:10:18 +00:00
Love Hörnquist Åstrand
76eb075fc5
(UI_UTIL_read_pw_string): make the prompt argument const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:09:50 +00:00
Love Hörnquist Åstrand
71a8c91eae
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:57:41 +00:00
Love Hörnquist Åstrand
a4f2e9fda6
(UI_UTIL_read_pw_string): remove unused variable plen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:56:58 +00:00
Love Hörnquist Åstrand
ee21d416f1
replace <strings.h> with <string.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:55:36 +00:00
Love Hörnquist Åstrand
51a75cda5e
use LIB_com_err for libkrb5.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:50:41 +00:00
Love Hörnquist Åstrand
f3877257e6
use $(LIB_com_err)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 18:42:52 +00:00
Love Hörnquist Åstrand
505088a186
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:34:25 +00:00
Love Hörnquist Åstrand
a469c7d736
(LDADD): Add libcom_err.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:34:10 +00:00
Love Hörnquist Åstrand
260f0695b5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:33:18 +00:00
Love Hörnquist Åstrand
f3cdf04445
(LDADD): Add libsl.la.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 11:32:42 +00:00
Love Hörnquist Åstrand
b7ac5caa3e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:42 +00:00
Love Hörnquist Åstrand
f33075bfb4
Add LIB_roken.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:24 +00:00
Love Hörnquist Åstrand
5081487496
(krb5_set_config_files): ignore permission denied on configuration
...
files, user might no be allowed to read /var/heimdal/kdc.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 09:04:10 +00:00
Love Hörnquist Åstrand
a86ee1251a
check that string is properly terminated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:59:53 +00:00
Love Hörnquist Åstrand
c9ac32d74a
test the NULL string, fix printfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:36:02 +00:00
Love Hörnquist Åstrand
9affb89884
add some more tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:32:00 +00:00
Love Hörnquist Åstrand
ea05edd7e6
check the 0 length string too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:26:21 +00:00
Love Hörnquist Åstrand
6fa21042ca
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:55:33 +00:00
Love Hörnquist Åstrand
d0443e2058
prefix all sequence symbols with _, they are not part of the GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:51:27 +00:00
Love Hörnquist Åstrand
71dc254fd8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:18:18 +00:00
Love Hörnquist Åstrand
eb9bd70683
add rk_realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:17:53 +00:00
Love Hörnquist Åstrand
5b5dc2420a
fix (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:08:19 +00:00
Love Hörnquist Åstrand
9ed1c245f6
add realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:07:38 +00:00
Love Hörnquist Åstrand
e5426143a2
add rk_realloc, unbroken version of realloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:06:36 +00:00
Love Hörnquist Åstrand
8f37ffa42f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:59:32 +00:00
Love Hörnquist Åstrand
11356e88b7
Include hash.h first.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:55:05 +00:00
Love Hörnquist Åstrand
a233d17d46
also include <stddef.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:53:48 +00:00
Love Hörnquist Åstrand
20d6b1d4d6
Include krb5-types.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:50:32 +00:00
Love Hörnquist Åstrand
1f6a02ddd4
define _POSIX_PTHREAD_SEMANTICS so we get posix getpwnam_r
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:24:02 +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
7e35d1bdbc
Maybe include stdlib.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:08:53 +00:00
Love Hörnquist Åstrand
1faae673ee
Include roken.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:05:00 +00:00
Love Hörnquist Åstrand
cd68b669fb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 19:27:17 +00:00
Love Hörnquist Åstrand
32b515fccb
add the documented option --port
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 19:23:15 +00:00
Love Hörnquist Åstrand
bb2ca4b24b
use the newly generated units function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:20:50 +00:00
Love Hörnquist Åstrand
e4d67d9f1f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:19:21 +00:00
Love Hörnquist Åstrand
98dcb8409a
switch the units variable to a function. gcc-4.1 needs the size of the
...
structure if its defined as extern struct units foo_units[] an we
don't want to include <parse_units.h> in the generate headerfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:07:07 +00:00
Love Hörnquist Åstrand
8c03feac90
use PADL version
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 17:33:40 +00:00
Love Hörnquist Åstrand
3912e6c785
add EQUALITY rule for krb5ValidStart, krb5ValidEnd, krb5PasswordEnd
...
From Howard Chu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 14:30:14 +00:00
Love Hörnquist Åstrand
1da385e5b6
(acc_gen_new): remove debug printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 21:54:01 +00:00
Love Hörnquist Åstrand
d6b87a47d9
use strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Love Hörnquist Åstrand
3a1c2eb89d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:43:59 +00:00
Love Hörnquist Åstrand
ddb34e00b3
include strlcpy and *printf and use them
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:43:06 +00:00
Love Hörnquist Åstrand
da6cb81649
s/strlcpy/strlcat/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:28:50 +00:00
Love Hörnquist Åstrand
743dc6a909
add strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:16:48 +00:00
Love Hörnquist Åstrand
713a9deb4e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:01:01 +00:00