Commit e0dabcf
Pavel Siska
appFs - Initialize fuse_buf struct to avoid use of uninitialized values
Previously, m_buffer members were manually set in the constructor,
but not all fields were guaranteed to be initialized, leading to
valgrind warnings about uninitialized reads inside libfuse.1 parent 603a1fd commit e0dabcf
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
381 | | - | |
| 379 | + | |
382 | 380 | | |
383 | 381 | | |
384 | 382 | | |
| |||
0 commit comments