Commit Graph

23308 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1cfff7cc93 check for failues, cid#160
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:37 +00:00
Love Hörnquist Åstrand
1db27e217e check for failues for hex_encode, cid#159
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:26 +00:00
Love Hörnquist Åstrand
05708605e0 cleanup before returning cid#70
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:16 +00:00
Love Hörnquist Åstrand
0aa582523a check for null before freeing, cid#32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:06 +00:00
Love Hörnquist Åstrand
b1f9462cfc check for null before freeing, cid#33
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:56 +00:00
Love Hörnquist Åstrand
e015c36060 check for null before freeing, cid#34
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:46 +00:00
Love Hörnquist Åstrand
12edcfbf3b check return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:35 +00:00
Love Hörnquist Åstrand
e2f40cd57f free only lock on existance, cid#53
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:25 +00:00
Love Hörnquist Åstrand
90e52850c1 free data on error, cid#89
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:14 +00:00
Love Hörnquist Åstrand
f9120fced8 check return value, cid#62
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:04 +00:00
Love Hörnquist Åstrand
8a54aaba59 free name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:54 +00:00
Love Hörnquist Åstrand
8b8e3af545 check return values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:44 +00:00
Love Hörnquist Åstrand
4eb662c7a0 free data on failure, cid#86
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:34 +00:00
Love Hörnquist Åstrand
f317fa98cf check the right variable for mallocation failure, cid#9
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:24 +00:00
Love Hörnquist Åstrand
e83545e8f0 release m1, cid#117e
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:14 +00:00
Love Hörnquist Åstrand
f106a2aff9 release mechs when done, cid#75
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:03 +00:00
Love Hörnquist Åstrand
a77294556d return error when we cant find enctype, cid#59
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:53 +00:00
Love Hörnquist Åstrand
b1af3f1abc leak less memory on malloc failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:43 +00:00
Love Hörnquist Åstrand
765d501701 keys cant be NULL after assiging a static variable to it, cid#4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:32 +00:00
Love Hörnquist Åstrand
dfa2b7030c use calloc and by that way avoid NULL de-ref, cid#31
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:21 +00:00
Love Hörnquist Åstrand
1f82ad5700 read dead code, cid#5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:11 +00:00
Love Hörnquist Åstrand
e295c94913 allow freeing of client_params=NULL cid#54
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:00 +00:00
Love Hörnquist Åstrand
9c92a36dd8 return up kdc_cert from signing operation so that OSCP can do the right thing. cid#55
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:50 +00:00
Love Hörnquist Åstrand
bb8485b49c check return value from krb5_decrypt_iov_ivec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:39 +00:00
Love Hörnquist Åstrand
76f849a64a return NULL in return value on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:29 +00:00
Love Hörnquist Åstrand
95b4de5cd1 check the right variable, cid#3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:19 +00:00
Love Hörnquist Åstrand
7a8202a4d9 free name on error, cid#69
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:09 +00:00
Love Hörnquist Åstrand
d97b2360b9 free krb5_ccache on error, cid#49
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:58 +00:00
Love Hörnquist Åstrand
62965c76dd free krb5_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:48 +00:00
Love Hörnquist Åstrand
5f961f1e39 copy data is there is data to copy, cid#22
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:37 +00:00
Love Hörnquist Åstrand
cc0575ed41 on failure set hex_encode output to NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:27 +00:00
Love Hörnquist Åstrand
c9122e8b28 on failure set hex_encode output to NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:17 +00:00
Love Hörnquist Åstrand
91f2ef3f76 dont leak addr on error, cid#81
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:07 +00:00
Love Hörnquist Åstrand
1abdd59600 dont leak scache context on error, cid#82
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:57 +00:00
Love Hörnquist Åstrand
c96c9b0ced check that valid enctypes are not 0, cid#29
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:43 +00:00
Love Hörnquist Åstrand
6dd6406d82 allow NULL input to krb5_free_config_files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:32 +00:00
Love Hörnquist Åstrand
209dbbb1e0 use calloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:22 +00:00
Love Hörnquist Åstrand
466f1f1cb4 free array when done, cid#127
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:11 +00:00
Love Hörnquist Åstrand
b323af1a4a check that ctx is not a null ptr before deref cid#130
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:01 +00:00
Love Hörnquist Åstrand
45b17f2891 check that ctx is not a null ptr before deref cid#131
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:51 +00:00
Love Hörnquist Åstrand
c90f113531 check that ctx is not a null ptr before deref cid#132
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:41 +00:00
Love Hörnquist Åstrand
89632983d3 check that ctx is not a null ptr before deref cid#133
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:30 +00:00
Love Hörnquist Åstrand
92896a8aab check that ctx is not a null ptr before deref cid#140
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:20 +00:00
Love Hörnquist Åstrand
b35c56fff6 check for value of get_mic, not that is a pointer. cid#141
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:10 +00:00
Love Hörnquist Åstrand
0e01d8fa11 check for value of get_mic, not that is a pointer. cid#141
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:00 +00:00
Love Hörnquist Åstrand
7f51de4922 check that length > 0, not that data is a pointer, cid#143
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:49 +00:00
Love Hörnquist Åstrand
c1a4666f81 mutex is always allocated, cid#142
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:39 +00:00
Love Hörnquist Åstrand
ef65ca7a16 free data on write error back on the tcp socket cid#123, make sure we dont write more data back then we got
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:29 +00:00
Love Hörnquist Åstrand
a1ebdfc19c remove dead code: cid# 11
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:18 +00:00
Love Hörnquist Åstrand
af50e8483c free subkey earlier, part of #cid 122
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:08 +00:00