Skip to content

fix a crash when adding custom config#2122

Merged
2dust merged 1 commit into
2dust:masterfrom
justlovediaodiao:master
Mar 24, 2023
Merged

fix a crash when adding custom config#2122
2dust merged 1 commit into
2dust:masterfrom
justlovediaodiao:master

Conversation

@justlovediaodiao

Copy link
Copy Markdown
Contributor

When adding custom config, such as an empty json string {}, it is valid for v2ray-core, but there's no outbounds. getProxyOutbound will raise NullPointerException, and cause app crashed. This bug will be triggered every time when app opened.

@2dust 2dust merged commit 3aeda7d into 2dust:master Mar 24, 2023
chlink2025 pushed a commit to chlink2025/v2rayNG that referenced this pull request Jun 21, 2026
fix a crash when adding custom config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants