summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-03-24 18:36:25 +0300
committerMarkus Armbruster <armbru@redhat.com>2020-04-04 14:14:09 +0200
commitd1d3a99795006d81f10c98927b0c2ad270bc78fd (patch)
tree6a075b8c51b4ef7262b77ee94f1ac4c03515ad66 /qga/commands-posix.c
parent146aa0f104bb3bf88e43c4082a0bfc4bbda4fbd8 (diff)
downloadfocaccia-qemu-d1d3a99795006d81f10c98927b0c2ad270bc78fd.tar.gz
focaccia-qemu-d1d3a99795006d81f10c98927b0c2ad270bc78fd.zip
scripts/coccinelle: add error-use-after-free.cocci
Add script to find and fix trivial use-after-free of Error objects.
How to use:
spatch --sp-file scripts/coccinelle/error-use-after-free.cocci \
 --macro-file scripts/cocci-macro-file.h --in-place \
 --no-show-diff ( FILES... | --use-gitgrep . )

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200324153630.11882-2-vsementsov@virtuozzo.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Pastos in commit message and comment fixed, globbing in MAINTAINERS
expanded]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions