Commit Graph

3533 Commits

Author SHA1 Message Date
Love Hornquist Astrand
705e50b079 Check name before using it [CID-43] 2009-07-30 13:48:39 +02:00
Love Hornquist Astrand
c9bb8ba35f Fail on parse error instead of craching [CID-58] 2009-07-30 13:08:54 +02:00
Love Hornquist Astrand
e977f1cf2f You don't exists [CID-60] 2009-07-30 13:03:27 +02:00
Love Hornquist Astrand
fab281f465 (setnmap): make sure strchr returned a string [CID-65] 2009-07-30 13:00:34 +02:00
Love Hornquist Astrand
4674f2dc6c Better length checks [CID-67] 2009-07-30 12:50:01 +02:00
Love Hornquist Astrand
f3cf321660 Fail harder (exit) in case of failure [CID-76] 2009-07-30 12:32:23 +02:00
Love Hornquist Astrand
149edc15f7 Free krb5_auth_context [CID-95] 2009-07-30 12:03:33 +02:00
Love Hornquist Astrand
b2aaf4f306 free auth_context on close [CID-97] 2009-07-30 11:55:42 +02:00
Love Hornquist Astrand
2127d8d6bc free auth_context on close [CID-98] 2009-07-30 11:19:15 +02:00
Love Hornquist Astrand
20c376c62e Just fail if writing cookies failes [CID-100] 2009-07-30 10:52:23 +02:00
Love Hornquist Astrand
879051c308 Free sockets in cleanup function [CID-101] 2009-07-30 10:50:22 +02:00
Love Hornquist Astrand
269fcc53e7 Free auth_context [CID-102] 2009-07-30 10:48:06 +02:00
Love Hornquist Astrand
dfffe6d567 Check allocation error and free on error [CID-114] 2009-07-30 10:32:33 +02:00
Love Hornquist Astrand
d8db9d5a5a Free get_options on failure [CID-119] 2009-07-30 10:30:20 +02:00
Love Hornquist Astrand
6312b8eb30 p will always be true, check for p[0] instead. [CID-144] 2009-07-30 10:24:47 +02:00
Love Hornquist Astrand
276867b63e Free the full keyblock and not just the content [CID-173] 2009-07-30 09:54:45 +02:00
Love Hornquist Astrand
e8c46282ee Free keyblock when krb5_mk_rep() failes [CID-174] 2009-07-30 09:51:00 +02:00
Love Hornquist Astrand
2c841b425e free edata on failure [CID-83] 2009-07-30 07:57:07 +02:00
Love Hornquist Astrand
3f3b499c39 NULL_RETURNS paranoid check [CID-66] 2009-07-30 07:50:18 +02:00
Love Hornquist Astrand
3c053a2e09 fix up the paranoid code to make it work with ipv6. 2009-07-16 22:21:59 -07:00
Love Hörnquist Åstrand
d07832d6d7 rename ruserpass to ruserpassword to not collide with uclibc, prompted by [HEIMDAL-534]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 23:07:07 +00:00
Love Hörnquist Åstrand
29fc07df5b add paranoid check for PORT and EPRT, make it default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:25 +00:00
Love Hörnquist Åstrand
16b76d5cc0 add paranoid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:13 +00:00
Love Hörnquist Åstrand
8338244c6d use strerror(errno) + "%s" instead of "%m", since %m is not really a printf formater
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:19 +00:00
Love Hörnquist Åstrand
569ee5438c The max_ arguments are really "%.*s" format input paramaters, to make them into ints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:08 +00:00
Love Hörnquist Åstrand
a619d66c48 Use S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:13 +00:00
Love Hörnquist Åstrand
1db1289c87 use S_ISDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:03 +00:00
Love Hörnquist Åstrand
1e5a14f8bd use S_ISDIR and S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:52 +00:00
Love Hörnquist Åstrand
5e4d0f8798 make argument to cwd() const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 20:39:01 +00:00
Love Hörnquist Åstrand
9b4aafd0ec make argument to cwd() const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 20:38:47 +00:00
Love Hörnquist Åstrand
22673e4df8 Hide home directory when chrooted or guest. From Ake Holmlund
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:25:36 +00:00
Love Hörnquist Åstrand
c045e38e44 use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:59:55 +00:00
Love Hörnquist Åstrand
68b804787c use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:50 +00:00
Love Hörnquist Åstrand
e0229329fd use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:39 +00:00
Love Hörnquist Åstrand
877cb93a71 use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:28 +00:00
Love Hörnquist Åstrand
d9b05d873f use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:18 +00:00
Love Hörnquist Åstrand
b5cf4f141d use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:46 +00:00
Love Hörnquist Åstrand
5f19fc6a9f use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:35 +00:00
Love Hörnquist Åstrand
5939a1b0f8 use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:16 +00:00
Love Hörnquist Åstrand
3b04ca2afd simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:04 +00:00
Love Hörnquist Åstrand
1747257c60 don't set j to 0, since it never read again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:15 +00:00
Love Hörnquist Åstrand
54d8d8504c Freeglob is not read again, just free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:05 +00:00
Love Hörnquist Åstrand
a5e6d1338b catch error and, while here, destroy credential caches on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
10916974df Remove unsed variable kerberos_error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
f4680be3ce Plug memory leaks, from Roman Divacky.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:22 +00:00
Love Hörnquist Åstrand
428949990f uniquify error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:26:07 +00:00
Love Hörnquist Åstrand
aa64f90c1c implement UnwrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:57 +00:00
Love Hörnquist Åstrand
3e82b4199c add flags to test WrapExt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:47 +00:00
Love Hörnquist Åstrand
4e31a0c423 test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:37 +00:00
Love Hörnquist Åstrand
d44779d9d0 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:25:28 +00:00