Commit c7f3317
committed
polycubed_core: initializes the cubes_dump_ variable to null
If cubes_dump is not initialized properly, it may happen that a wrong memory
area is accessed while this is dereference below.
This causes random failures like deadlocks, segmentation faults or even a
"invalid argument" message.
Signed-off-by: Francesco Messina <francescomessina92@hotmail.com>1 parent e20fc1a commit c7f3317
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments