Commit Diff
Diff:
e5ccb5c6468954c4fc8c5f23c6d47d6f929c6446
608fac9a77ae88ee6f22d1c27287032bcbda15a6
Commit:
608fac9a77ae88ee6f22d1c27287032bcbda15a6
Tree:
f8e8ea84874cd87da51cfb444323d0c427931cdf
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sun Aug 28 05:51:53 2016 UTC
Message:
lc must be initialized to 0
blob - 4a3ab857782fb623e6b9db9399c13d93be4f62f3
blob + b462b02385dd9b2a8f5e219ad56dbd8b24f0bb4f
--- util.c
+++ util.c
@@ -58,7 +58,7 @@ label_count(char *name)
{
char *labels[255];
char **pl;
- int lc;
+ int lc = 0;
char tname[DNS_MAXNAME + 1]; /* 255 bytes + 1*/
char *pt = &tname[0];
repomaster@centroid.eu