Love Hörnquist Åstrand
5e4d827e61
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
...
Fix resource leak in heimdal/krb5/fcache/fcc_remove_cred
In fcache, fcc_remove_cred generates a ccache called
"newfile," which is not cleaned up if the final call
(krb5_cc_move) fails.
Free of uninitialized value in fcache/fcc_move(...)
If init_fcc fails to acquire a file handle, sp will be
uninitialized. If this is the case, the call to
krb5_storage_free will dereference this uninitialized value,
which causes undefined behaviour.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:21 +00:00
Love Hörnquist Åstrand
ab2a36de97
Add KRB5_CTX_F_HOMEDIR_ACCESS.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:03 +00:00
Love Hörnquist Åstrand
3f00119ea6
Add krb5_set_home_dir_access.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:53 +00:00
Love Hörnquist Åstrand
240a220f87
Expand ~ to $HOME or pw_dir.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:42 +00:00
Love Hörnquist Åstrand
7fe8bc6c00
Parse ~/Library/Preferences/edu.mit.Kerberos too if running on an Apple platform.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:21 +00:00
Love Hörnquist Åstrand
dad321e230
add krb5_set_home_dir_access
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:10 +00:00
Love Hörnquist Åstrand
65353f9173
update documentation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:36 +00:00
Love Hörnquist Åstrand
4fbab16b41
If data == NULL, not store the config.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:00 +00:00
Love Hörnquist Åstrand
83595c6202
Add support for setting and getting kdc offset
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:50 +00:00
Love Hörnquist Åstrand
3bbe9c48e1
Adapt to time skew in KRB-ERROR.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:40 +00:00
Love Hörnquist Åstrand
6e8a595828
Try adapt to timeskrew when we are using pre-auth, and if there was a
...
time skew, try again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:29 +00:00
Love Hörnquist Åstrand
d6fcbc45f9
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:28 +00:00
Love Hörnquist Åstrand
5cdbc62e05
include 524 if not smaller
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:57 +00:00
Love Hörnquist Åstrand
7beaa0b4f7
disable 425 functions and include 524 if not smaller
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:47 +00:00
Love Hörnquist Åstrand
99196c113e
dns: switch to rk types, prefix types with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:36 +00:00
Love Hörnquist Åstrand
db149370e1
dns: switch to rk types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:55 +00:00
Love Hörnquist Åstrand
5cb8acdf6d
dns: switch to rk types, prefix types with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:25 +00:00
Love Hörnquist Åstrand
fb2acb56f3
prefix dns_ symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:15 +00:00
Love Hörnquist Åstrand
bd5229d126
prefix dns_ symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:02 +00:00
Love Hörnquist Åstrand
393b5824ce
catch error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:21 +00:00
Love Hörnquist Åstrand
68853055fa
don't touch unused arguments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:11 +00:00
Love Hörnquist Åstrand
02c9b49155
don't touch unused arguments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:01 +00:00
Love Hörnquist Åstrand
3dd1e7a385
don't touch unused arguments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:52 +00:00
Love Hörnquist Åstrand
ac2c3d7f52
move convert_func to deprecated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:42 +00:00
Love Hörnquist Åstrand
68b959c395
move convert_func to deprecated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:32 +00:00
Love Hörnquist Åstrand
33ca6f1a26
dont increment p since its no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:19 +00:00
Love Hörnquist Åstrand
269ddbd09e
dont increment p since its no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:09 +00:00
Love Hörnquist Åstrand
c2c1e95ccf
dont increment nhost since its no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:58 +00:00
Love Hörnquist Åstrand
d17aa3e8fe
drop temp variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:49 +00:00
Love Hörnquist Åstrand
f1a66a04b2
assign array instead of p++
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:39 +00:00
Love Hörnquist Åstrand
6264d0b528
catch error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
28230ca61a
catch error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:20 +00:00
Love Hörnquist Åstrand
022c117434
catch error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
ef088ee696
error never read again, just drop it
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:59 +00:00
Love Hörnquist Åstrand
5684eb4435
running strsep_copy again, yield same result
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
0922b9168e
client_realm is never read
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:40 +00:00
Love Hörnquist Åstrand
b8946878b8
remove dead assignment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:30 +00:00
Love Hörnquist Åstrand
08b3bcc294
catch error from krb5_store_int32
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:19 +00:00
Love Hörnquist Åstrand
e1e65f1fbd
krb5_425_conv_* misc functions are deprecated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:09 +00:00
Love Hörnquist Åstrand
ce2ab466e6
krb5_425_conv_principal is deprecated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:00 +00:00
Love Hörnquist Åstrand
4e5f2d4ab5
krb5_425_conv_principal_ext is deprecated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:50 +00:00
Love Hörnquist Åstrand
7edaf92f13
check return value instead of guessing on variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:40 +00:00
Love Hörnquist Åstrand
c0f4693926
drop unused return value
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:31 +00:00
Love Hörnquist Åstrand
d3343b5027
catch underflow/overflow errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:21 +00:00
Love Hörnquist Åstrand
6a27427df8
Catch error from functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:11 +00:00
Love Hörnquist Åstrand
15ed1d32dc
Catch error from functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:01 +00:00
Love Hörnquist Åstrand
0f70a33c5b
Catch error from functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:52 +00:00
Love Hörnquist Åstrand
b49a469952
Catch error from functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:42 +00:00
Love Hörnquist Åstrand
fb2a767ab3
pass flag to hx509_cms_create_signed_1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:32 +00:00
Love Hörnquist Åstrand
8082c12c88
q not used, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:22 +00:00