fee131542c
The file descriptor sanitizer keeps track of opened file descriptors and kills programs that closes fds multiple times, or fails to close fds. In w3m's case a fd for a tty was obtained and saved in the ttyf variable, but when the tty was later closed is was done using the tty variable and not the obtained ttyf. To my current understanding this can lead to undesired behaviour when using multiple threads, as another thread might write to or read from ttyf after it has been closed. Error looks like fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by FILE* 0xb6c8800c This commit fixes [1]. See also fdsan docs [2] and issue opened in the android bug tracker [3]. [1] https://github.com/termux/termux-packages/issues/6410 [2] https://android.googlesource.com/platform/bionic/+/master/docs/fdsan.md [3] https://issuetracker.google.com/issues/184380442 |
||
---|---|---|
.github | ||
disabled-packages | ||
ndk-patches | ||
packages | ||
sample | ||
scripts | ||
.gitattributes | ||
.gitignore | ||
BACKERS.md | ||
build-all.sh | ||
build-package.sh | ||
clean.sh | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md |
Termux packages
This project contains scripts and patches to build packages for the Termux Android application.
Quick how-to about Termux package management is available at https://wiki.termux.com/wiki/Package_Management.
Contributing
@termux is looking for help with fixing issues, adding new packages and maintaining existing ones. It would be very helpful if you submit a pull request with bug fixes.
Processing of new package requests is limited. Repository is already big and recently we got the new problems with hosting. Submit requests only for things that can be important for most users.
Read CONTRIBUTING.md and Developer's Wiki for more details.
Contacts
General mailing list: https://groups.io/g/termux
Developer mailing list: https://groups.io/g/termux-dev
General chat: https://gitter.im/termux/termux or #termux on IRC/freenode.
Developer chat: https://gitter.im/termux/dev or #termux/development on IRC/freenode.