-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Denis Efremov <efremov@linux.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/// Files: net/bluetooth/hci_sync.c | ||
/// Fix: bce56405201111807cc8e4f47c6de3e10b17c1ac | ||
/// Fixes: d0b137062b2de75b264b84143d21c98abc5f5ad2 | ||
|
||
virtual detect | ||
|
||
@fix_amd_init1@ | ||
symbol amp_init1; | ||
@@ | ||
|
||
struct hci_init_stage amp_init1[] = { | ||
..., | ||
* {} | ||
}; | ||
|
||
@err_amd_init1 depends on !fix_amd_init1@ | ||
symbol amp_init1; | ||
position p; | ||
@@ | ||
|
||
struct hci_init_stage amp_init1[] =@p { | ||
* ... | ||
}; | ||
|
||
@script:python depends on detect@ | ||
p << err_amd_init1.p; | ||
@@ | ||
coccilib.report.print_report(p[0], 'ERROR: CVE-2023-28866') |