f317fa98cf
check the right variable for mallocation failure, cid#9
Love Hörnquist Åstrand
2008-12-11 05:06:24 +00:00
e83545e8f0
release m1, cid#117e
Love Hörnquist Åstrand
2008-12-11 05:06:14 +00:00
f106a2aff9
release mechs when done, cid#75
Love Hörnquist Åstrand
2008-12-11 05:06:03 +00:00
a77294556d
return error when we cant find enctype, cid#59
Love Hörnquist Åstrand
2008-12-11 05:05:53 +00:00
b1af3f1abc
leak less memory on malloc failure
Love Hörnquist Åstrand
2008-12-11 05:05:43 +00:00
765d501701
keys cant be NULL after assiging a static variable to it, cid#4
Love Hörnquist Åstrand
2008-12-11 05:05:32 +00:00
dfa2b7030c
use calloc and by that way avoid NULL de-ref, cid#31
Love Hörnquist Åstrand
2008-12-11 05:05:21 +00:00
1f82ad5700
read dead code, cid#5
Love Hörnquist Åstrand
2008-12-11 05:05:11 +00:00
e295c94913
allow freeing of client_params=NULL cid#54
Love Hörnquist Åstrand
2008-12-11 05:05:00 +00:00
9c92a36dd8
return up kdc_cert from signing operation so that OSCP can do the right thing. cid#55
Love Hörnquist Åstrand
2008-12-11 05:04:50 +00:00
bb8485b49c
check return value from krb5_decrypt_iov_ivec
Love Hörnquist Åstrand
2008-12-11 05:04:39 +00:00
76f849a64a
return NULL in return value on error
Love Hörnquist Åstrand
2008-12-11 05:04:29 +00:00
95b4de5cd1
check the right variable, cid#3
Love Hörnquist Åstrand
2008-12-11 05:04:19 +00:00
7a8202a4d9
free name on error, cid#69
Love Hörnquist Åstrand
2008-12-11 05:04:09 +00:00
d97b2360b9
free krb5_ccache on error, cid#49
Love Hörnquist Åstrand
2008-12-11 05:03:58 +00:00
62965c76dd
free krb5_storage
Love Hörnquist Åstrand
2008-12-11 05:03:48 +00:00
5f961f1e39
copy data is there is data to copy, cid#22
Love Hörnquist Åstrand
2008-12-11 05:03:37 +00:00
cc0575ed41
on failure set hex_encode output to NULL
Love Hörnquist Åstrand
2008-12-11 05:03:27 +00:00
c9122e8b28
on failure set hex_encode output to NULL
Love Hörnquist Åstrand
2008-12-11 05:03:17 +00:00
91f2ef3f76
dont leak addr on error, cid#81
Love Hörnquist Åstrand
2008-12-11 05:03:07 +00:00
1abdd59600
dont leak scache context on error, cid#82
Love Hörnquist Åstrand
2008-12-11 05:02:57 +00:00
c96c9b0ced
check that valid enctypes are not 0, cid#29
Love Hörnquist Åstrand
2008-12-11 05:02:43 +00:00
6dd6406d82
allow NULL input to krb5_free_config_files
Love Hörnquist Åstrand
2008-12-11 05:02:32 +00:00
209dbbb1e0
use calloc
Love Hörnquist Åstrand
2008-12-11 05:02:22 +00:00
466f1f1cb4
free array when done, cid#127
Love Hörnquist Åstrand
2008-12-11 05:02:11 +00:00
b323af1a4a
check that ctx is not a null ptr before deref cid#130
Love Hörnquist Åstrand
2008-12-11 05:02:01 +00:00
45b17f2891
check that ctx is not a null ptr before deref cid#131
Love Hörnquist Åstrand
2008-12-11 05:01:51 +00:00
c90f113531
check that ctx is not a null ptr before deref cid#132
Love Hörnquist Åstrand
2008-12-11 05:01:41 +00:00
89632983d3
check that ctx is not a null ptr before deref cid#133
Love Hörnquist Åstrand
2008-12-11 05:01:30 +00:00
92896a8aab
check that ctx is not a null ptr before deref cid#140
Love Hörnquist Åstrand
2008-12-11 05:01:20 +00:00
b35c56fff6
check for value of get_mic, not that is a pointer. cid#141
Love Hörnquist Åstrand
2008-12-11 05:01:10 +00:00
0e01d8fa11
check for value of get_mic, not that is a pointer. cid#141
Love Hörnquist Åstrand
2008-12-11 05:01:00 +00:00
7f51de4922
check that length > 0, not that data is a pointer, cid#143
Love Hörnquist Åstrand
2008-12-11 05:00:49 +00:00
c1a4666f81
mutex is always allocated, cid#142
Love Hörnquist Åstrand
2008-12-11 05:00:39 +00:00
ef65ca7a16
free data on write error back on the tcp socket cid#123, make sure we dont write more data back then we got
Love Hörnquist Åstrand
2008-12-11 05:00:29 +00:00
a1ebdfc19c
remove dead code: cid# 11
Love Hörnquist Åstrand
2008-12-11 05:00:18 +00:00
af50e8483c
free subkey earlier, part of #cid 122
Love Hörnquist Åstrand
2008-12-11 05:00:08 +00:00
f97807582c
krb5_copy_keyblock: on malloc error, free keyblock
Love Hörnquist Åstrand
2008-12-11 04:59:58 +00:00
a3107b9af4
free hx509_query on non matching cert. cid#120
Love Hörnquist Åstrand
2008-12-11 04:59:48 +00:00
1bcabc9f49
dont double free on error cid#155
Love Hörnquist Åstrand
2008-12-11 04:59:38 +00:00
01720d42b1
free on error cid#68
Love Hörnquist Åstrand
2008-12-11 04:59:28 +00:00
a222d53b7f
free utf8 string on failure, cid#87
Love Hörnquist Åstrand
2008-12-11 04:59:18 +00:00
2edb783bf7
check NULL pointer before use, cid#137, 136, 135
Love Hörnquist Åstrand
2008-12-11 04:59:08 +00:00
46d54811be
init count before use, coverity #150
Love Hörnquist Åstrand
2008-12-11 04:58:58 +00:00
bedf5bc77e
init content before use coverity #146
Love Hörnquist Åstrand
2008-12-11 04:58:48 +00:00
c5ff97dc5b
init content before use coverity #147
Love Hörnquist Åstrand
2008-12-11 04:58:38 +00:00
f964fe1beb
init content before use coverity #148
Love Hörnquist Åstrand
2008-12-11 04:58:28 +00:00
d24b24e07e
init content before use coverity #149
Love Hörnquist Åstrand
2008-12-11 04:58:18 +00:00
63d1d155f2
switch from unsigned int to int for iov_count
Love Hörnquist Åstrand
2008-12-11 04:55:56 +00:00
af7fda88cd
add x86_64
Love Hörnquist Åstrand
2008-12-11 04:55:45 +00:00
9672fbd8ec
fix typo
Love Hörnquist Åstrand
2008-12-11 04:55:35 +00:00
5fa14d98c0
dont use krb5_enctypes_compatible_keys
Love Hörnquist Åstrand
2008-12-11 04:55:25 +00:00
669aa01712
check that num_data >= 0
Love Hörnquist Åstrand
2008-12-11 04:55:14 +00:00
83ad3c21e9
use int for num_data
Love Hörnquist Åstrand
2008-12-11 04:55:04 +00:00
3be0e14d73
use DESTDIR when installing
Love Hörnquist Åstrand
2008-12-11 04:54:53 +00:00
3fd24a3ac3
print pointer with %p
Love Hörnquist Åstrand
2008-12-11 04:54:44 +00:00
fd6e3cfb9d
use #pragma(pack) on __APPLE__ computers, use int32_t for the time type
Love Hörnquist Åstrand
2008-12-11 04:54:33 +00:00
c8d75e3e34
use krb5_get_init_creds_opt_alloc
Love Hörnquist Åstrand
2008-12-11 04:54:18 +00:00
5a42051a2d
krb5_enctypes_compatible_keys
Love Hörnquist Åstrand
2008-12-11 04:53:44 +00:00
318bc750f8
krb5_enctypes_compatible_keys and krb5_c_enctype_compare deprecated
Love Hörnquist Åstrand
2008-12-11 04:53:26 +00:00
329b5e292b
use the asn1 decoder directly
Love Hörnquist Åstrand
2008-12-11 04:52:50 +00:00
b474c84bd9
use the asn1 decoder directly
Love Hörnquist Åstrand
2008-12-11 04:52:40 +00:00
3955c302b5
use the asn1 decoder directly
Love Hörnquist Åstrand
2008-12-11 04:52:30 +00:00
301c445596
new function
Love Hörnquist Åstrand
2008-12-11 04:52:20 +00:00
9586101a49
use the krb5_crypto directly, skipping some per packet calculation, make cfx handling simpler
Love Hörnquist Åstrand
2008-12-11 04:52:10 +00:00
7c4ee0b0e2
fix spelling
Love Hörnquist Åstrand
2008-12-11 04:51:59 +00:00
ae6f751fc0
support egrep
Love Hörnquist Åstrand
2008-12-11 04:51:49 +00:00
a1d66eb655
use asn1 decoder function directly
Love Hörnquist Åstrand
2008-12-11 04:51:39 +00:00
d6f7c4e272
use krb5_get_init_creds_opt_alloc
Love Hörnquist Åstrand
2008-12-11 04:51:29 +00:00
747f6e9f77
some failes pass or succeed based on size_t size, lets have it either way for now
Love Hörnquist Åstrand
2008-12-11 04:51:19 +00:00
953cf8b43e
make new pac test fail
Love Hörnquist Åstrand
2008-12-11 04:51:08 +00:00
60d35f97bc
use asn1 decoder function directly
Love Hörnquist Åstrand
2008-12-11 04:50:58 +00:00
efccbcdeff
init optidx
Love Hörnquist Åstrand
2008-12-11 04:50:48 +00:00
9c1460fe80
dont need cfx flag here
Love Hörnquist Åstrand
2008-12-11 04:50:38 +00:00
d4f5c19c1d
make IS_CFX a more_flag
Love Hörnquist Åstrand
2008-12-11 04:50:22 +00:00
691da91d10
pass back header/trailer sizes
Love Hörnquist Åstrand
2008-12-11 04:50:10 +00:00
7f6d448621
implement the new gss_*_iov interfaces
Love Hörnquist Åstrand
2008-12-11 04:49:37 +00:00
9880969de0
use decode_EncAPRepPart directly
Love Hörnquist Åstrand
2008-11-29 19:34:34 +00:00
136c41e4cf
truncate the number so it will if in a signed 32bit integer, apples pkinit uses signed int32 for the pkinit nonce
Love Hörnquist Åstrand
2008-11-29 19:34:23 +00:00
e6f8e55360
better language in error, make nounce more random
Love Hörnquist Åstrand
2008-11-29 19:34:11 +00:00
174cae0ba1
better error message
Love Hörnquist Åstrand
2008-11-23 22:05:46 +00:00
b4539ac324
better error checks
Love Hörnquist Åstrand
2008-11-23 22:05:36 +00:00
de3c767d3a
allow testing on sha1 hash in cert queries
Love Hörnquist Åstrand
2008-11-23 22:05:26 +00:00
02f8830992
try slight better english, from Julius
Love Hörnquist Åstrand
2008-11-23 22:05:14 +00:00
ed56de38d9
make profiles const
Love Hörnquist Åstrand
2008-11-23 22:05:05 +00:00
a5013943ed
better english
Love Hörnquist Åstrand
2008-11-23 22:04:52 +00:00
2dab920021
add length_HDB_Ext_PKINIT_acl, encode_HDB_Ext_PKINIT_acl
Love Hörnquist Åstrand
2008-11-17 21:33:10 +00:00
dd4ed63ff5
fix uuid
Love Hörnquist Åstrand
2008-11-16 21:12:52 +00:00
1061de8583
x
Love Hörnquist Åstrand
2008-11-15 04:46:47 +00:00
8879177460
fix documentation
Love Hörnquist Åstrand
2008-11-15 04:44:04 +00:00
ada58d9cd3
Additional patch from Christan Krause to handle asprintf better
Love Hörnquist Åstrand
2008-11-15 04:43:42 +00:00
521aa55d0a
more complicated check for asl.h. From Tom Payerle.
Love Hörnquist Åstrand
2008-11-12 04:29:33 +00:00