Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-embedded/embedded-alloc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.2
Choose a base ref
...
head repository: rust-embedded/embedded-alloc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.3
Choose a head ref
  • 8 commits
  • 4 files changed
  • 5 contributors

Commits on Feb 6, 2022

  1. Change usage example for statically allocated heap

    The linker needs to know how big the heap is, otherwise, it could place
    some of the global variables in the heap region.
    nviennot committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    a61b645 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. Merge #53

    53: Change usage example for statically allocated heap r=adamgreig a=nviennot
    
    The linker needs to know how big the heap is, otherwise, it could place some of the global variables in the heap region.
    This commit changes the example code to do that.
    
    Co-authored-by: Nicolas Viennot <nicolas@viennot.biz>
    bors[bot] and nviennot authored Feb 12, 2022
    Configuration menu
    Copy the full SHA
    a1be51e View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. fix: remove usage of HEAP mut ref in example

    Remove &mut and just use .as_ptr() as the function requires
    wcampbell0x2a committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    5d404a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Merge #54

    54: fix: remove usage of HEAP mut ref in example r=adamgreig a=wcampbell0x2a
    
    Remove &mut and just use .as_ptr() as the function requires
    
    Co-authored-by: wcampbell <wcampbell1995@gmail.com>
    bors[bot] and wcampbell0x2a authored Apr 5, 2022
    Configuration menu
    Copy the full SHA
    aa48d77 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. update linked_list_allocator to 0.10.4

    versions <= 0.10.1 were affected by [CVE-2022-36086][].
    note that with 0.10.0 a breaking API change was done which changed the
    signature of `init`. this can however be avoided simply by casting back
    (to avoid a breaking API change in `alloc-cortex-m` by changing the API
    here as well - if wished, this should be done as a separate step).
    
    i've also tried to instead switch to the `init_from_slice` API
    (introduced in 0.9.1), however I've failed at getting this to compile
    due to lifetimes (i'm sure it's somehow possible and i just missed the
    obvious...), but that'd anyway have been a breaking change for
    `alloc-cortex-m` and, if done, should be done in a separate step (though
    it'd definitely clean the API up and make it nicer!).
    
    [CVE-2022-36086]: GHSA-xg8p-34w2-j49j
    rursprung committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    c9f32c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Merge #57

    57: update `linked_list_allocator` to `0.10.4` r=adamgreig a=rursprung
    
    versions <= 0.10.1 were affected by [CVE-2022-36086][].
    note that with 0.10.0 a breaking API change was done which changed the signature of `init`. this can however be avoided simply by casting back (to avoid a breaking API change in `alloc-cortex-m` by changing the API here as well - if wished, this should be done as a separate step).
    
    i've also tried to instead switch to the `init_from_slice` API (introduced in 0.9.1), however I've failed at getting this to compile due to lifetimes (i'm sure it's somehow possible and i just missed the obvious...), but that'd anyway have been a breaking change for `alloc-cortex-m` and, if done, should be done in a separate step (though it'd definitely clean the API up and make it nicer!).
    
    [CVE-2022-36086]: GHSA-xg8p-34w2-j49j
    
    Co-authored-by: Ralph Ursprung <ralph.ursprung@gmail.com>
    bors[bot] and rursprung authored Nov 3, 2022
    Configuration menu
    Copy the full SHA
    5b6f3ae View commit details
    Browse the repository at this point in the history
  2. Prepare v0.4.3

    adamgreig committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    3762e54 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Merge #58

    58: Prepare v0.4.3 r=newAM a=adamgreig
    
    cc #57
    
    Co-authored-by: Adam Greig <adam@adamgreig.com>
    bors[bot] and adamgreig authored Nov 6, 2022
    Configuration menu
    Copy the full SHA
    e805a4a View commit details
    Browse the repository at this point in the history
Loading