deltachat / deltachat-core-rust

Delta Chat Rust Core library, used by Android/iOS/desktop apps, bindings and bots 📧
https://delta.chat/en/contribute
Other
678 stars 86 forks source link

Crash when parsing some shadowsocks URLs #6189

Open link2xt opened 2 weeks ago

link2xt commented 2 weeks ago

For example:

> checkqr ss://foo:bar@127.0.0.1:9999
thread 'tokio-runtime-worker' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shadowsocks-1.21.0/src/config.rs:815:37:
method: ParseCipherKindError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)

Upstream issue: https://github.com/shadowsocks/shadowsocks-rust/issues/1760

link2xt commented 2 days ago

Waiting for release now: https://github.com/shadowsocks/shadowsocks-rust/issues/1775