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

Bump linked_list_allocator from 0.6.4 to 0.10.2 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 16, 2022

Bumps linked_list_allocator from 0.6.4 to 0.10.2.

Changelog

Sourced from linked_list_allocator's changelog.

0.10.2 – 2022-09-06

Fix for potential out-of-bound writes that were possible on Heap initialization and Heap::extend. See the security advisory for details. The issues were fixed in the following way:

  • The initialization functions now panic if the given size is not large enough to store the necessary metadata. Depending on the alignment of the heap bottom pointer, the minimum size is between 2 * size_of::<usize> and 3 * size_of::<usize>.
  • The extend method now panics when trying to extend an unitialized heap.
  • Extend calls with a size smaller than size_of::<usize>() * 2 are now buffered internally and not added to the list directly. The buffered region will be merged with future extend calls.
  • The size() method now returns the usable size of the heap, which might be slightly smaller than the top() - bottom() difference because of alignment constraints.

0.10.1 – 2022-07-07

  • Fixed logic for freeing nodes (#64)

#64: rust-osdev/linked-list-allocator#64

0.10.0 – 2022-06-27

  • Changed constructor to take *mut u8 instead of usize (#62)
    • NOTE: Breaking API change
  • Reworked internals to pass Miri tests (#62)

#62: phil-opp/linked-list-allocator#62

0.9.1 – 2021-10-17

  • Add safe constructor and initialization for Heap (#55)
  • Merge front/back padding after allocate current hole (#54)

0.9.0 – 2021-05-01

  • Update spinning_top dependency to v0.2.3 (#50)

0.8.11 – 2021-01-02

  • Add new use_spin_nightly feature, which, together with const_mut_refs, makes the empty method of LockedHeap const (#49)

0.8.10 – 2020-12-28

  • Made hole module public for external uses (#47)

0.8.9 – 2020-12-27

  • Don't require nightly for use_spin feature (#46)

0.8.8 – 2020-12-16

  • Do not require alloc crate (#44)

0.8.7 – 2020-12-10

... (truncated)

Commits
  • 5eb2bc6 Release version 0.10.2
  • 013b075 Merge pull request from GHSA-xg8p-34w2-j49j
  • 7da0533 Panic when trying to extend an unitialized Heap
  • ede19c8 Safely keep track of pending extensions to the Heap
  • c7e3428 safe but infallible extend (wip)
  • d0f8d62 Document the minimum size requirements for the heap initialization methods
  • a505bfd Ensure proper heap alignment in tests
  • 8efb4b5 Assert in HoleList::new that the space is large enough to store a Hole
  • c6956c6 Add minimum size and alignment tests for HoleList::new
  • 70494c3 Add some tests for the new try_extend checks
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [linked_list_allocator](https://github.com/phil-opp/linked-list-allocator) from 0.6.4 to 0.10.2.
- [Release notes](https://github.com/phil-opp/linked-list-allocator/releases)
- [Changelog](https://github.com/rust-osdev/linked-list-allocator/blob/main/Changelog.md)
- [Commits](rust-osdev/linked-list-allocator@v0.6.4...v0.10.2)

---
updated-dependencies:
- dependency-name: linked_list_allocator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants