summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2021-12-15 13:21:44 -0600
committerMarge Bot <marge-bot@gnome.org>2021-12-15 19:45:42 +0000
commit5c9f4bf2544c9ed447096a5aba54cbf52e4ba51e (patch)
treedaa2e111d5f53366b7e70509d9fa414410a78621
parent87fc964c741237726a8f7e2ba8b60316707a6f77 (diff)
downloadepiphany-5c9f4bf2544c9ed447096a5aba54cbf52e4ba51e.tar.gz
ci: don't check for memory leaks, use-after-free, double free
This is unfortunate, but the checker is too dumb. It also has no way to suppress false positives, so we either have to make undesirable changes to the code, or else disable the checker entirely. We only really want to disable the memory leak checker, but there's no way to do that without also disabling the check for use-after-free or double free, so here we are. My opinion of scan-build has declined drastically today. This is sad. But it seems like the best we can do. Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1045>
-rwxr-xr-x.run-scan-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/.run-scan-build b/.run-scan-build
index 88fe82454..ea778b932 100755
--- a/.run-scan-build
+++ b/.run-scan-build
@@ -2,4 +2,4 @@
set -e
-scan-build -v --status-bugs "$@"
+scan-build -v --status-bugs -disable-checker unix.Malloc "$@"