diff options
| author | Greg Hudson <ghudson@mit.edu> | 2013-06-27 18:41:04 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2013-06-27 22:37:21 -0400 |
| commit | ed515a396ee78361ca514be464978da38305f0fb (patch) | |
| tree | f57c6a45e77d7bee10c09d464d0f2530fe9cd938 /src/lib | |
| parent | a6debff894e8b24f72675beea9ee4438bd2e8902 (diff) | |
| download | krb5-ed515a396ee78361ca514be464978da38305f0fb.tar.gz krb5-ed515a396ee78361ca514be464978da38305f0fb.tar.xz krb5-ed515a396ee78361ca514be464978da38305f0fb.zip | |
Fix uninitialized variable bugs
The previous few commits introduced a couple of bugs where variables
could be used without being initialized. Fix them.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/krb/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/plugin.c b/src/lib/krb5/krb/plugin.c index 059e00b994..53616a0c1e 100644 --- a/src/lib/krb5/krb/plugin.c +++ b/src/lib/krb5/krb/plugin.c @@ -346,7 +346,7 @@ load_if_needed(krb5_context context, struct plugin_mapping *map, const char *iname) { char *symname = NULL; - struct plugin_file_handle *handle; + struct plugin_file_handle *handle = NULL; void (*initvt_fn)(); if (map->module != NULL || map->dyn_path == NULL) |
