You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File Browser: Replacing shared library can crash running process #81
Linux has no safeguards against changes to a shared library that is currently in use. If a ".so" file is written to, the changes are immediately reflected in the address space of a process using that library. Thus, unless the new file has almost the exact same layout, the process might end up executing random instructions or access illegal memory addresses.
With XOVI, a user might replace an extension while xochitl is running, expecting it to be loaded on the next restart of the application. However, xochitl is likely to crash instead. To avoid that, instead of directly overwriting the target file(s), reManager could delete the old file before recreating it. The running process will continue to access the previous library file, because Linux only fully erases its data when the process using it ends.
Is this intended to be directed at when a user copies a file over to the device using reManager? Or is this more aimed at vellum and when it updates a package?
This is about reManager's file browser. I assume, but haven't checked, that vellum already does what I described.
I know that installing extensions via the file browser is not exactly its main use case, but not all extensions are available on vellum.
Activity
Eeems commentedon Jul 15, 2026
Is this intended to be directed at when a user copies a file over to the device using reManager? Or is this more aimed at vellum and when it updates a package?
geloescht commentedon Jul 15, 2026
This is about reManager's file browser. I assume, but haven't checked, that vellum already does what I described.
I know that installing extensions via the file browser is not exactly its main use case, but not all extensions are available on vellum.
rmitchellscott commentedon Jul 15, 2026
I do think vellum/apk handles this correctly already. Looking into swapping to PosixRename for reManager.