8000 Replace memmap with memmap2 by upsuper · Pull Request #5 · rust-minidump/minidump-writer · GitHub
[go: up one dir, main page]

Skip to content

Replace memmap with memmap2 - #5

Merged
msirringhaus merged 1 commit into
rust-minidump:mainfrom
upsuper-forks:memmap
May 3, 2021
Merged

msirringhaus merged 1 commit into
rust-minidump:mainfrom
upsuper-forks:memmap

Conversation

@upsuper
@upsuper upsuper commented May 2, 2021
Copy link
Copy Markdown
Contributor

The crate memmap has been marked unmaintained, see the advisory.

This PR replaces the dependency with memmap2, which is a maintained fork of memmap.

@msirringhaus
Copy link
Copy Markdown
Collaborator

Thank you!

@msirringhaus
msirringhaus merged commit 5cea1c9 into rust-minidump:main May 3, 2021
@upsuper
upsuper deleted the memmap branch May 3, 2021 11:41
G36maid added a commit to G36maid/minidump-writer that referenced this pull request May 16, 2026
…k logging, procfs test

- Use getcontext() instead of zeroed ucontext in tests (Finding rust-minidump#3)
  so register extraction is actually tested with non-zero values.
- Assert exception thread_id exists in thread list (Finding rust-minidump#2)
  to catch orphaned exception references.
- Store mapping names as OsString instead of String (Finding rust-minidump#5)
  to preserve non-UTF-8 paths until lossy conversion at write time,
  matching Linux implementation.
- Log stack copy failures instead of silently ignoring (Finding rust-minidump#4)
  with log::warn for both crash and non-crash thread paths.
- Make handle_data_stream test procfs-aware (Finding #1)
  so it doesn't silently pass when /proc/<pid>/fd is absent.
G36maid added a commit to G36maid/minidump-writer that referenced this pull request May 16, 2026
…k logging, procfs test

- Use getcontext() instead of zeroed ucontext in tests (Finding rust-minidump#3)
  so register extraction is actually tested with non-zero values.
- Assert exception thread_id exists in thread list (Finding rust-minidump#2)
  to catch orphaned exception references.
- Store mapping names as OsString instead of String (Finding rust-minidump#5)
  to preserve non-UTF-8 paths until lossy conversion at write time,
  matching Linux implementation.
- Log stack copy failures instead of silently ignoring (Finding rust-minidump#4)
  with log::warn for both crash and non-crash thread paths.
- Make handle_data_stream test procfs-aware (Finding #1)
  so it doesn't silently pass when /proc/<pid>/fd is absent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0