Skip to content

Page fault on Redox accessing invalid TLS address #42761

Closed
@jackpot51

Description

@jackpot51

Something in this commit range is causing the TLS size to be calculated incorrectly, and the code accesses TLS addresses slightly beyond the size of the TLS:

The first commit and last commit in this range have been tested, with the first working and the last not working:
4bf5c99...0389d40

For example, Command::new attempts to access offset 0x100, but the TLS is only 0xF0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SIMDArea: SIMD (Single Instruction Multiple Data)C-bugCategory: This is a bug.O-redoxOperating system: Redox, https://www.redox-os.org/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions