projects
/
project
/
rpcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwinfo: zero out ccode buffer since library doesn't
[project/rpcd.git]
/
iwinfo.c
diff --git
a/iwinfo.c
b/iwinfo.c
index
325c07a
..
b24d0f5
100644
(file)
--- a/
iwinfo.c
+++ b/
iwinfo.c
@@
-588,7
+588,7
@@
rpc_iwinfo_countrylist(struct ubus_context *ctx, struct ubus_object *obj,
int rv, len;
char cur[3];
char iso3166[3];
- char res[IWINFO_BUFSIZE];
+ char res[IWINFO_BUFSIZE]
= {0}
;
const char *ccode;
const struct iwinfo_iso3166_label *l;
void *c, *d;