[PR #780] Add missing "const" to a couple of kConstants #1408

Open
opened 2026-01-29 20:53:55 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/780

State: closed
Merged: Yes


These showed up in a Chromium audit:
https://bugs.chromium.org/p/chromium/issues/detail?id=747064#c8

Although already effectively const, adding "const" causes the symbols to
be moved into the read-only section of the binary.

**Original Pull Request:** https://github.com/google/brotli/pull/780 **State:** closed **Merged:** Yes --- These showed up in a Chromium audit: https://bugs.chromium.org/p/chromium/issues/detail?id=747064#c8 Although already effectively const, adding "const" causes the symbols to be moved into the read-only section of the binary.
claunia added the pull-request label 2026-01-29 20:53:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1408