Your message dated Sat, 30 Jul 2022 17:18:58 +0000 with message-id <[email protected]> and subject line Bug#1015205: fixed in openscap 1.3.6+dfsg-2 has caused the Debian Bug report #1015205, regarding segfault on armel, armhf and mipsel to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1015205: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015205 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: openscap Version: 1.3.5-0.1 Severity: important Tags: patch upstream Forwarded: https://github.com/OpenSCAP/openscap/issues/1852 Initially found when running the testsuite with version 1.3.5+dfsg-1, but at the time, it was assumed that the failures was bogus, however, after some research the test failures was legit. This bug needs to be handled before the Bookworm release, either patched, or not released on the affected architectures. The failing testcases should also be enabled again 'tests/oval_details/test_oval_details.sh'. The patch was supplied with the upstream bug report, and fixes the segfault. Because of portability, it's not likely that this exact patch will be used upstream. Regards, Håvarddiff --git a/src/OVAL/probes/SEAP/sexp-value.c b/src/OVAL/probes/SEAP/sexp-value.c index b8b3ed609..41eff2e53 100644 --- a/src/OVAL/probes/SEAP/sexp-value.c +++ b/src/OVAL/probes/SEAP/sexp-value.c @@ -24,6 +24,7 @@ #include <config.h> //#endif +#include <malloc.h> #include <stdint.h> #include <string.h> @@ -107,7 +108,7 @@ uintptr_t SEXP_rawval_lblk_new (uint8_t sz) _A(sz < 16); struct SEXP_val_lblk *lblk = malloc(sizeof(struct SEXP_val_lblk)); - lblk->memb = malloc(sizeof(SEXP_t) * (1 << sz)); + lblk->memb = memalign(16, sizeof(struct SEXP_val_lblk)); lblk->nxsz = ((uintptr_t)(NULL) & SEXP_LBLKP_MASK) | ((uintptr_t)sz & SEXP_LBLKS_MASK); lblk->refs = 1;
--- End Message ---
--- Begin Message ---Source: openscap Source-Version: 1.3.6+dfsg-2 Done: Håvard F. Aasen <[email protected]> We believe that the bug you reported is fixed in the latest version of openscap, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Håvard F. Aasen <[email protected]> (supplier of updated openscap package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 30 Jul 2022 11:26:47 +0200 Source: openscap Architecture: source Version: 1.3.6+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Håvard F. Aasen <[email protected]> Changed-By: Håvard F. Aasen <[email protected]> Closes: 1015205 Changes: openscap (1.3.6+dfsg-2) unstable; urgency=medium . * Add OVAL-SEAP-Allocate-aligned-memory-in-SEXP_rawval_lblk_new.patch from upstream. Closes: #1015205 * Add run-a-minor-testsuite.patch and start running some tests again. - Add libxml-parser-perl and libxml-xpath-perl as build dependencies. * Change -DCMAKE_SKIP_BUILD_RPATH=TRUE -> -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON * Don't install Doxygen files *.map and *.md5. Checksums-Sha1: 3d3b0940e9ce1887a986444356164833d73b1c48 2265 openscap_1.3.6+dfsg-2.dsc 6fee191892e29dbbc09fb48380000052e176538b 25820 openscap_1.3.6+dfsg-2.debian.tar.xz 3d0b7fc321265f457fc2ac6dfc1218a005980e8a 15719 openscap_1.3.6+dfsg-2_amd64.buildinfo Checksums-Sha256: 2799cec72d300c31c15afd87255947c1eae78de801e8f0c0226bd5f04193bff1 2265 openscap_1.3.6+dfsg-2.dsc 16b4c37b0f22273410cea7a6f145b6b266e318ee73c7b4377412fa2b0375c776 25820 openscap_1.3.6+dfsg-2.debian.tar.xz 1963d2bc31bdf93402dfa845e74f3d23e36b4049c2dcfe4a403c0230ebb3f090 15719 openscap_1.3.6+dfsg-2_amd64.buildinfo Files: e0b46f7f57c09686831dba4ab7ea53e0 2265 admin optional openscap_1.3.6+dfsg-2.dsc 7b66492ebd55f3b113d9394406e4aea3 25820 admin optional openscap_1.3.6+dfsg-2.debian.tar.xz 97fe942ad35834d6af51faeeeb7ef3a6 15719 admin optional openscap_1.3.6+dfsg-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iI0EARYIADUWIQRlk5EXUZxDorKy9cv5N3WY8EyDCgUCYuVixRccaGF2YXJkLmYu YWFzZW5AcGZmdC5ubwAKCRD5N3WY8EyDCsbrAP9qFw6IGCh25pYXjn7hSw2a/NS7 YQelLL/6iODWjazYfgEA9yt/EvxdAc/O7pNCm/olnPOG+yChZI84paK68UKCTwM= =q7Pn -----END PGP SIGNATURE-----
--- End Message ---

