coccinelle: misc: add array_size_dup script to detect missed overflow checks
Quoted 7 lines
(
* size = E1 * E2;@p
|
* size = E1 * E2 * E3;@p
|
* size = E1 * E2 + E3;@p
)
I suggest to reconsider also the order of elements for such a SmPL disjunction.
Can a computation like “E2 * E3” also be matched by the expression metavariable “E2” alone?
Regards,
Markus