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

thdat: fix wrong thtk_io_map() usage in th02_read() and th02_write() #119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 12, 2024

  1. thdat: fix wrong thtk_io_map() usage in th02_read()

    thtk_io_map() creates a read-only memory mapping, but th02_read()
    performs writes to the data buffer. This immediately segfaults (well
    actually it doesn't, because mmap always fails, but that's another
    story).
    This commit fixes it so thtk_io_pread() is used directly instead.
    FOTMarut authored May 12, 2024
    Configuration menu
    Copy the full SHA
    9b52796 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cef6774 View commit details
    Browse the repository at this point in the history