Commit Graph

24285 Commits

Author SHA1 Message Date
Love Hornquist Astrand
901bac07e8 Don't need to look check *input_name twice [CID-27]. 2009-07-30 14:00:48 +02:00
Love Hornquist Astrand
08256017e4 Don't dereference input_name [CID-27]. 2009-07-30 13:59:42 +02:00
Love Hornquist Astrand
705e50b079 Check name before using it [CID-43] 2009-07-30 13:48:39 +02:00
Love Hornquist Astrand
a4df44985d use default princial if none is set [CID-48] 2009-07-30 13:22:46 +02:00
Love Hornquist Astrand
0f5f5947aa make sure client is set before trying to use it [CID-50] 2009-07-30 13:20:00 +02:00
Love Hornquist Astrand
a1e127a3a8 Make sure we don't use negative indexing [CID-57] 2009-07-30 13:10:59 +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
8490e8fd34 make compile 2009-07-30 13:04:30 +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
7d8d09f3c0 make compile 2009-07-30 12:56:54 +02:00
Love Hornquist Astrand
e184e053dd Catch memory allocation failures [CID-61] 2009-07-30 12:56:21 +02:00
Love Hornquist Astrand
3af78ea3fb out of memory [CID-63] 2009-07-30 12:53:50 +02:00
Love Hornquist Astrand
4674f2dc6c Better length checks [CID-67] 2009-07-30 12:50:01 +02:00
Love Hornquist Astrand
a5b015ab7e Make sure av is freed if its allocated [CID-73] 2009-07-30 12:40:13 +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
25b0f731ab Better handling of memory allocation failure [CID-77] 2009-07-30 12:27:19 +02:00
Love Hornquist Astrand
60c9bca968 Free new_key_data in case of failure [CID-78] 2009-07-30 12:10:14 +02:00
Love Hornquist Astrand
149edc15f7 Free krb5_auth_context [CID-95] 2009-07-30 12:03:33 +02:00
Love Hornquist Astrand
dc95a7983d Release ticket on failure [CID-96] 2009-07-30 11:59:15 +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
c961189f95 Remove dead code [CID-10] 2009-07-30 10:55:06 +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
e395b3a9ea Free d on failure [CID-103] 2009-07-30 10:45:19 +02:00
Love Hornquist Astrand
403085fdb8 Free nonces on completion [CID-104] 2009-07-30 10:44:18 +02:00
Love Hornquist Astrand
c63b6a3368 Free digest on completion [CID-106] 2009-07-30 10:42:27 +02:00
Love Hornquist Astrand
0d49d0f1c4 Free ticket earlier [CID-108] 2009-07-30 10:39:52 +02:00
Love Hornquist Astrand
c8b05eef61 (base64_encode): bound input length to /4 of max int and positive 2009-07-30 10:36:39 +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
5373d3a869 Allow parsing of cert fail unless HX509_CERTS_UNPROTECT_ALL is set. 2009-07-30 10:20:04 +02:00
Love Hornquist Astrand
1bdf51f26f (strpoolcollect): allow p == NULL, return the empty string (allocated) 2009-07-30 10:08:48 +02:00
Love Hornquist Astrand
0da57a49d7 Make cgetstr() not return allocated memory on failure [CID-170] 2009-07-30 10:04:44 +02:00
Love Hornquist Astrand
09f64eb7c5 Free ent on failure [CID-171] 2009-07-30 09:59:23 +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
e568ea28b2 No need to check for NULL, principal is allocated. 2009-07-30 09:47:24 +02:00
Love Hornquist Astrand
90ed2b6790 Check result of calloc [CID-181] 2009-07-30 09:44:44 +02:00
Love Hornquist Astrand
3f802d359f Use right variable [CID-181] 2009-07-30 09:41:42 +02:00
Love Hornquist Astrand
e1ecb6f7a6 Catch uninited variable [CID-182] 2009-07-30 09:40:05 +02:00
Love Hornquist Astrand
bf5176e815 Check return value for allocation function [CID-180] 2009-07-30 07:59:24 +02:00
Love Hornquist Astrand
2c841b425e free edata on failure [CID-83] 2009-07-30 07:57:07 +02:00
Love Hornquist Astrand
f46b5b4817 free generated ticket [CID-84] 2009-07-30 07:56:10 +02:00
Love Hornquist Astrand
ca6e428093 check that we don't pass negative numbers of memset [CID-169] 2009-07-30 07:53:58 +02:00
Love Hornquist Astrand
3f3b499c39 NULL_RETURNS paranoid check [CID-66] 2009-07-30 07:50:18 +02:00
Love Hornquist Astrand
896391a56b Double free of sp on empty list of creds [CID-183] 2009-07-30 07:46:37 +02:00