Commit ef62300
committed
Occasional segmentation fault when atop is combined with netatop
Even when the number of exited processes via netatop was zero, still
a malloc was issued. In certain circumstances a structure could have
been stored at the address that was returned by malloc, resulting in
a segmentation fault on a subsequent malloc.1 parent 7838d54 commit ef62300
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
0 commit comments