1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 05:01:44 +00:00

dns.mitm: fix wildcardcmp failure case (#1539)

This commit is contained in:
Michael Scire 2021-06-15 16:35:20 -07:00
parent c02f32f1bf
commit 8a6afe7909

View file

@ -36,7 +36,7 @@ namespace ams::mitm::socket::resolver {
if (!*string) {
if (!*pattern) return 1;
if ('*' == *pattern) return 1;
if (!*s) return 0;
if (!s || !*s) return 0;
string = s++;
pattern = w;
continue;