Coder Social home page Coder Social logo

Comments (5)

hoodie avatar hoodie commented on September 26, 2024 1

I think if this hasn't happened yet this lib should be subject to some fuzzing. I found an infinite loop in here once

from yaml-rust.

chyh1990 avatar chyh1990 commented on September 26, 2024 1

Thanks to Rust's memory safe property, and this lib is written in pure Rust, it should be impossible to have memory problems like leaks and remote code executions.

It seems that no one have reported bugs panicking or blocking their program since last year, so I think this library can be marked as stable and production ready.

from yaml-rust.

dpc avatar dpc commented on September 26, 2024

@dtolnay Maybe it should be mentioned on https://github.com/dtolnay/serde-yaml and in the docs, especially if it's a remote code execution.

from yaml-rust.

dtolnay avatar dtolnay commented on September 26, 2024

This crate is 100% safe code outside of its dependency on linked-hash-map so I'm going to go with no remote code execution, or rather this would be more of a question for the linked-hash-map folks.

You're right serde_yaml should have propagated the same disclaimer -- fixed in dtolnay/serde-yaml@3ab6fd4.

from yaml-rust.

hoodie avatar hoodie commented on September 26, 2024

for completeness sake I'd like to add that leaks are not prevented by Rust, just data races, dangling pointers or things like use after free.

from yaml-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.