tomaka / redshirt

🧑‍🔬 Operating system
GNU General Public License v3.0
1.43k stars 37 forks source link

Bump linked_list_allocator from 0.9.0 to 0.10.2 #1106

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps linked_list_allocator from 0.9.0 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)
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

You can trigger a rebase of this PR 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tomaka/redshirt/network/alerts).
dependabot[bot] commented 2 years ago

Superseded by #1107.