[webkit-changes] [WebKit/WebKit] 2b9983: Have HashCountedSet validate its keys in release b...

Chris Dumez noreply at github.com
Tue Jan 7 11:37:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2b9983c4119c14ec0545baa9109f179cde4eeeb1
      https://github.com/WebKit/WebKit/commit/2b9983c4119c14ec0545baa9109f179cde4eeeb1
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/HashCountedSet.h

  Log Message:
  -----------
  Have HashCountedSet validate its keys in release builds
https://bugs.webkit.org/show_bug.cgi?id=285521

Reviewed by Darin Adler.

Have HashCountedSet validate its keys in release builds, as security hardening.
This is similar to what we did for HashMap & HashSet.
This tested as performance neutral on Speedometer and JetStream.

* Source/WTF/wtf/HashCountedSet.h:

Canonical link: https://commits.webkit.org/288553@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list