git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test/mem: disable ASan when accessing unallocated memory
[dpdk.git]
/
lib
/
eal
/
common
/
eal_common_devargs.c
diff --git
a/lib/eal/common/eal_common_devargs.c
b/lib/eal/common/eal_common_devargs.c
index
8da3ba3
..
d5833af
100644
(file)
--- a/
lib/eal/common/eal_common_devargs.c
+++ b/
lib/eal/common/eal_common_devargs.c
@@
-189,6
+189,7
@@
rte_devargs_parse(struct rte_devargs *da, const char *dev)
if (da == NULL)
return -EINVAL;
+ memset(da, 0, sizeof(*da));
/* First parse according global device syntax. */
if (rte_devargs_layers_parse(da, dev) == 0) {