summaryrefslogtreecommitdiffstats
path: root/coccinelle/reallocarray.cocci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* licensing: add spdx to our .cocci filesZbigniew Jędrzejewski-Szmek2021-10-011-0/+1
| | | | | Since those are chunks of code based on our codebase, it's easiest to use the same license.
* coccinelle: add reallocarray() coccinelle scriptLennart Poettering2018-03-021-0/+20
Let's systematically make use of reallocarray() whereever we invoke realloc() with a product of two values.