ayushslg · GitHub

Commits on Aug 21, 2026

  1. Avoid obscure DES key buffer loop bounds

    px_crypt_des() used pointer subtraction expressions such as
    "q - (uint8 *) keybuf - 8" as loop conditions when filling or
    updating the eight-byte key buffer.  While correct, that form is hard
    to read and confuses gcc 16 at -O3 into emitting spurious
    -Wstringop-overflow warnings.
    Use explicit sizeof(keybuf)-bounded for loops instead.  This preserves
    the number of bytes processed, makes the bound visible to the
    compiler, and applies the clearer form to the similar extended-DES
    loop as well.

    authored and Commitfest Bot committed

    Aug 21, 2026
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Read the original on github.com ↗