fix: prevent fd leak in TraversalType2 implementation#206
fix: prevent fd leak in TraversalType2 implementation#206Johnson-zs wants to merge 1 commit intoAppImageCommunity:masterfrom
Conversation
|
sqfs_destroy only releases memory resources and does not close file descriptors. |
|
Could you please explain this in more detail? It seems like a bug in squashfuse to me. You have to include another header for this to work, actually. The destroy function should take care of this it seems. |
Actually, I also discovered this issue after noticing the FD leak and reading the squashfuse source code. The Additionally, I noticed in its source code (https://github.com/vasi/squashfuse/blob/e1e237a7ee9f0646d05aa85d20939c49555279db/ls.c#L73) that after calling |
No description provided.