Use hashtypes(c.f Cytoplasm#47) #57

Merged
jordan merged 38 commits from lda/telodendria:master into master 2024-08-27 13:47:25 +00:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit b72f18538d - Show all commits

View file

@ -152,7 +152,7 @@ ParseIPv6(char **str, char **out)
goto fail;
}
while ((c = Iterate(str)) && IsIPv6Char(c))
while ((c = Iterate(str)) && IsIPv6Char(c) && digits < 8)
{
char *ipv4;
if (isxdigit(c))

View file

@ -185,8 +185,6 @@ ROUTE_IMPL(RouteUserProfile, path, argp)
finish:
ConfigUnlock(&config);
/* Username is handled by the router, freeing it would cause issues. */
Free(entry);
UserIdFree(userId);
UserUnlock(user);
JsonFree(request);