Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Efremov <efremov@linux.com>
  • Loading branch information
evdenis committed Feb 15, 2024
1 parent 5bf25f6 commit ad5a223
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions cvehound/cve/CVE-2023-4207.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/// Files: net/sched/cls_fw.c
/// Fix: 76e42ae831991c828cffa8c37736ebfb831ad5ec
/// Fixes: e35a8ee5993ba81fd6c092f6827458c60406255b

virtual detect

@err@
identifier fnew, f;
position p;
@@

fw_change(...)
{
...
fnew->id = f->id;
* fnew->res =@p f->res;
...
}

@script:python depends on detect@
p << err.p;
@@
coccilib.report.print_report(p[0], 'ERROR: CVE-2023-4207')

0 comments on commit ad5a223

Please sign in to comment.