Code Monkey home page Code Monkey logo

reducer's People

Contributors

brunocodutra avatar dependabot[bot] avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jkelleyrtp

reducer's Issues

Flux pattern link is outdated

Facebook has updated the flux pattern link, the old link in the doc returns 404.

The updated link should be https://facebook.github.io/flux/docs/in-depth-overview/

RUSTSEC-2021-0140: rusttype is Unmaintained

rusttype is Unmaintained

Details
Status unmaintained
Package rusttype
Version 0.8.3
URL https://gitlab.redox-os.org/redox-os/rusttype/-/issues/148
Date 2021-04-01

The maintainer has adviced this crate is deprecated and will not
receive any maintenance.

The maintainer has further advised to migrate over to ab_glyph.

Last release seems to have been over two years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

Conrod example broken on macOS

macOS is frustrating. If an application wants to have a gui, that gui has to be on the main thread, as described when trying to run the conrod example.

▲ CXXFLAGS+=-stdlib=libc++ cargo run --release --example conrod
    Finished release [optimized] target(s) in 0.59s
     Running `target/release/examples/conrod`
thread '<unnamed>' panicked at 'Windows can only be created on the main thread on macOS', /Volumes/data/tmp/cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.16.2/src/platform/macos/window.rs:595:17
note: Run with `RUST_BACKTRACE=1` for a backtrace.

I am not decent enough at threading to refactor the example to have winit on the main thread with the rest of the application in a spawned thread, but that would fix it on macOS. Maybe conrod has examples but I'm not sure.

RUSTSEC-2021-0119: Out-of-bounds write in nix::unistd::getgrouplist

Out-of-bounds write in nix::unistd::getgrouplist

Details
Package nix
Version 0.18.0
URL nix-rust/nix#1541
Date 2021-09-27
Patched versions ^0.20.2,^0.21.2,^0.22.2,>=0.23.0
Unaffected versions <0.16.0

On certain platforms, if a user has more than 16 groups, the
nix::unistd::getgrouplist function will call the libc getgrouplist
function with a length parameter greater than the size of the buffer it
provides, resulting in an out-of-bounds write and memory corruption.

The libc getgrouplist function takes an in/out parameter ngroups
specifying the size of the group buffer. When the buffer is too small to
hold all of the reqested user's group memberships, some libc
implementations, including glibc and Solaris libc, will modify ngroups
to indicate the actual number of groups for the user, in addition to
returning an error. The version of nix::unistd::getgrouplist in nix
0.16.0 and up will resize the buffer to twice its size, but will not
read or modify the ngroups variable. Thus, if the user has more than
twice as many groups as the initial buffer size of 8, the next call to
getgrouplist will then write past the end of the buffer.

The issue would require editing /etc/groups to exploit, which is usually
only editable by the root user.

See advisory page for additional details.

Consider making this project no_std + alloc

I took a quick glance over your dependencies. There doesn't seem to be reason that jumps out to me that you couldn't make this project full on no_std + alloc if you built an executor without future-rs

RUSTSEC-2021-0140: rusttype is Unmaintained

rusttype is Unmaintained

Details
Status unmaintained
Package rusttype
Version 0.9.2
URL https://gitlab.redox-os.org/redox-os/rusttype/-/issues/148
Date 2021-04-01

The maintainer has adviced this crate is deprecated and will not
receive any maintenance.

The maintainer has further advised to migrate over to ab_glyph.

Last release seems to have been over two years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

Action composition?

In the JS-land Redux, one of the convenient things is having various patterns that allow you to dispatch actions based on actions dispatched. e.g thunks and more complex concepts like rx , sagas, epics in an asynchronous way that involves side effects.
What would be the equivalent here?

RUSTSEC-2022-0048: xml-rs is Unmaintained

xml-rs is Unmaintained

Details
Status unmaintained
Package xml-rs
Version 0.8.4
URL https://github.com/netvl/xml-rs/issues
Date 2022-01-26

xml-rs is a XML parser has open issues around parsing including integer
overflows / panics that may or may not be an issue with untrusted data.

Together with these open issues with Unmaintained status xml-rs
may or may not be suited to parse untrusted data.

Alternatives

See advisory page for additional details.

Equivalent of `getState()` from redux.js

Using this crate I find that there is a need to get a reference to the current state, which seems impossible with the current API. For the time being, I'm registering a reactor that copies the state so a caller can get it later. Better would be a get_state(callback: Subscription<State>) function on the Store so I don't have to copy the state. At least that's what I think, you may have entirely different thoughts on this topic.

It would also be splendid if I could register more than one reactor. For now I'm maintaining my own collection of listeners.

I'd be happy to submit a pull request, although there is a chance you'd end up rewriting whatever I did.

RUSTSEC-2021-0140: rusttype is Unmaintained

rusttype is Unmaintained

Details
Status unmaintained
Package rusttype
Version 0.7.9
URL https://gitlab.redox-os.org/redox-os/rusttype/-/issues/148
Date 2021-04-01

The maintainer has adviced this crate is deprecated and will not
receive any maintenance.

The maintainer has further advised to migrate over to ab_glyph.

Last release seems to have been over two years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

RUSTSEC-2021-0119: Out-of-bounds write in nix::unistd::getgrouplist

Out-of-bounds write in nix::unistd::getgrouplist

Details
Package nix
Version 0.20.0
URL nix-rust/nix#1541
Date 2021-09-27
Patched versions ^0.20.2,^0.21.2,^0.22.2,>=0.23.0
Unaffected versions <0.16.0

On certain platforms, if a user has more than 16 groups, the
nix::unistd::getgrouplist function will call the libc getgrouplist
function with a length parameter greater than the size of the buffer it
provides, resulting in an out-of-bounds write and memory corruption.

The libc getgrouplist function takes an in/out parameter ngroups
specifying the size of the group buffer. When the buffer is too small to
hold all of the reqested user's group memberships, some libc
implementations, including glibc and Solaris libc, will modify ngroups
to indicate the actual number of groups for the user, in addition to
returning an error. The version of nix::unistd::getgrouplist in nix
0.16.0 and up will resize the buffer to twice its size, but will not
read or modify the ngroups variable. Thus, if the user has more than
twice as many groups as the initial buffer size of 8, the next call to
getgrouplist will then write past the end of the buffer.

The issue would require editing /etc/groups to exploit, which is usually
only editable by the root user.

See advisory page for additional details.

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.