From 053bb75e8adfacc52d4c7fca9b3f3cce16475c90 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 6 Aug 2024 02:26:51 +0000 Subject: automatic import of libipt --- libipt-gcc11.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libipt-gcc11.patch (limited to 'libipt-gcc11.patch') diff --git a/libipt-gcc11.patch b/libipt-gcc11.patch new file mode 100644 index 0000000..33c23c0 --- /dev/null +++ b/libipt-gcc11.patch @@ -0,0 +1,22 @@ +diff --git a/libipt/test/src/ptunit-msec_cache.c b/libipt/test/src/ptunit-msec_cache.c +index 68d9daf..cfb059b 100644 +--- a/libipt/test/src/ptunit-msec_cache.c ++++ b/libipt/test/src/ptunit-msec_cache.c +@@ -296,7 +296,7 @@ static struct ptunit_result read(struct test_fixture *tfix) + static struct ptunit_result fill_nomap(struct test_fixture *tfix) + { + const struct pt_mapped_section *msec; +- struct pt_asid asid; ++ struct pt_asid asid = { 0 }; + struct pt_section *section; + int status; + +@@ -320,7 +320,7 @@ static struct ptunit_result fill(struct test_fixture *tfix) + { + const struct pt_mapped_section *msec; + struct pt_section *section; +- struct pt_asid asid; ++ struct pt_asid asid = { 0 }; + int status; + + status = pt_msec_cache_fill(&tfix->mcache, &msec, &tfix->image, &asid, -- cgit v1.2.3