Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22b8bdd3 authored by Bernie Innocenti's avatar Bernie Innocenti Committed by android-build-merger
Browse files

Merge "Fix harmless cache key bug in res_cache"

am: f1deb1c9

Change-Id: Icb7ba1606862aa86b63cb0b47d79bc4e6464cb47
parents 55b15ff4 f1deb1c9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -435,6 +435,7 @@ static unsigned _dnsPacket_hashBytes(DnsPacket* packet, int numBytes, unsigned h

    while (numBytes > 0 && p < end) {
        hash = hash * FNV_MULT ^ *p++;
        numBytes--;
    }
    packet->cursor = p;
    return hash;