• Marko Mäkelä's avatar
    UBSAN: Fix a bit shift overflow · 70960bd3
    Marko Mäkelä authored
    Shifting a 16-bit type by 16 bits is undefined behaviour.
    The result is at least 32 bits, so let us cast the shift operand
    to a wider type before shifting.
    70960bd3
client.c 137 KB