Skip to content

Commit

Permalink
chromium-uaf.yaml: add pref_change_registrar_ in allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon authored Jul 17, 2023
1 parent 3fe5864 commit 88fe3d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/semgrep_rules/c/chromium-uaf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ rules:
patterns:
- pattern: base::Unretained(...)
- pattern-not-inside: web_ui()->RegisterMessageCallback(...)
- pattern-not-inside: pref_change_registrar_.Add(...)
metadata:
author: Andrea Brancaleoni <abc@pompel.me>
source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/c/chromium-uaf.yaml
Expand Down

0 comments on commit 88fe3d1

Please sign in to comment.