Security mailing lists by PureSourceCode

RUSTSEC-2023-0081

not scored yet

safemem is unmaintained

The latest crates.io release was in 2019. The repository has been archived by the author.

Migration

  • safemem::copy_over(slice, src_idx, dest_idx, len); can be replaced with slice.copy_within(src_idx..src_idx+len, dest_idx); as of rust 1.37.0.

  • safemem::write_bytes(slice, byte); can be replaced with slice.fill(byte); as of rust 1.50.0

  • safemem::prepend(slice, vec); can be replaced with

    let old_len = vec.len();
    vec.extend_from_slice(slice);
    vec.rotate_left(old_len);
    

    as of rust 1.26.0

Published
14 Feb 2023
Last modified
4 Mar 2024
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io safemem >= 0.0.0-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.