diff --git a/libisofs/aaip_0_2.c b/libisofs/aaip_0_2.c index 368fa9b..8ab93f8 100644 --- a/libisofs/aaip_0_2.c +++ b/libisofs/aaip_0_2.c @@ -2065,7 +2065,7 @@ int aaip_decode_acl(unsigned char *data, size_t num_data, size_t *consumed, unsigned char *rpt; char perm_text[4], *wpt, *name= NULL; int type, qualifier= 0, perm, ret, cnt, name_size= 1024; - size_t w_size, name_fill= 0, i; + size_t w_size= 0, name_fill= 0, i; uid_t uid; gid_t gid; struct passwd *pwd; diff --git a/libisofs/iso1999.c b/libisofs/iso1999.c index d477c5d..26dc2d6 100644 --- a/libisofs/iso1999.c +++ b/libisofs/iso1999.c @@ -308,7 +308,7 @@ int mangle_single_dir(Ecma119Image *img, Iso1999Node *dir) int ret; int i, nchildren; Iso1999Node **children; - IsoHTable *table; + IsoHTable *table = NULL; int need_sort = 0; char *full_name = NULL, *tmp = NULL; diff --git a/libisofs/joliet.c b/libisofs/joliet.c index 8b3f9c3..9880459 100644 --- a/libisofs/joliet.c +++ b/libisofs/joliet.c @@ -349,7 +349,7 @@ int mangle_single_dir(Ecma119Image *t, JolietNode *dir) int ret; int i, nchildren, maxchar = 64; JolietNode **children; - IsoHTable *table; + IsoHTable *table = NULL; int need_sort = 0; uint16_t *full_name = NULL; uint16_t *tmp = NULL;