]> git.ipfire.org Git - thirdparty/cups.git/commit
Regression: Certificate data is corrupted during base64 conversion 726/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Sun, 11 Jun 2023 20:09:53 +0000 (16:09 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Sun, 11 Jun 2023 20:48:40 +0000 (16:48 -0400)
commit1fbe63814746d228edee8d7cd405852bb00cc9fc
treec89e81ab395dbf9aa188da2d783fc5a4f7b5a91b
parent301d6e4a76ddfefde4c91a9fc089b0a3b95aff60
Regression: Certificate data is corrupted during base64 conversion

The bug during which certificates become corrupt was introduced in a521b235a1abc008cb0b2f490a765bb31e2ec14b. It turns out some data was not being truncated after being promoted to an integer, causing 1s to be ORed into the index number when they should not have been.

I only intended to remove the & 255 from the other side, where the & 63 would have rendered that operation redundant.

I apologize for this error. I made the appropriate changes I intended to make in this new PR.

Please merge and make a new release if possible.

Thank you so much!
cups/http-support.c