Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3741 - Bus error on musl tzset #8758

Open
openwrt-bot opened this issue Apr 15, 2021 · 0 comments
Open

FS#3741 - Bus error on musl tzset #8758

openwrt-bot opened this issue Apr 15, 2021 · 0 comments
Labels
flyspray toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

selvamuthukumar:

toolchain/musl/patches/110-read_timezone_from_fs.patch - Adds support for reading timezone from /etc/TZ.
It does mmap of the file. There is a possible race condition here. If /etc/TZ is truncated between mmap and read, read can cause bus error (SIGBUS).

@aparcar aparcar added the toolchain pull request/issue with toolchain related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

2 participants