]> git.ipfire.org Git - thirdparty/cups.git/commit
UBSan: Contain pos - fp->bufpos in parentheses 670/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Sun, 23 Apr 2023 16:25:39 +0000 (12:25 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Tue, 25 Apr 2023 16:03:22 +0000 (12:03 -0400)
commitdd7846e30974d4a4d6d22052da5a6bf864e3b6fe
tree6fd9200beb3c5ada4cf2583b65671e52376512ac
parentecba3676244b7181bfaaeab0a4e7806a6d4e3a3e
UBSan: Contain pos - fp->bufpos in parentheses

Yes I know this shouldn't change the behavior in theory, but clang insists it does in practice, so to quiet the UBSan, I put parentheses around pos - fp->bufpos.
cups/file.c