Commit 2c6eae6
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 2c6eae6
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
| 366 | + | |
371 | 367 | | |
372 | 368 | | |
373 | 369 | | |
| |||
378 | 374 | | |
379 | 375 | | |
380 | 376 | | |
381 | | - | |
| 377 | + | |
382 | 378 | | |
383 | 379 | | |
384 | 380 | | |
| |||
0 commit comments