-
-
Save zdi-team/8301c65794c2be247da305fdff164533 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__int64 __fastcall SLPParseSrvUrl(int srvurllen, const char *srvurl, _QWORD *a3) | |
{ | |
// ... | |
obuf = calloc(1uLL, srvurllen + 53LL); | |
if ( !obuf ) | |
return 12LL; | |
v6 = strstr(srvurl, ":/"); // <-- (5) | |
if ( !v6 ) | |
{ | |
free(obuf); | |
return 22LL; | |
} | |
memcpy((char *)obuf + 41, srvurl, v6 - srvurl); // <-- (6) | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment