Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865151 - dev-libs/capstone-5.0_rc2-r1 - fails capstone_test_basic (Subprocess aborted)
Summary: dev-libs/capstone-5.0_rc2-r1 - fails capstone_test_basic (Subprocess aborted)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-08-14 11:12 UTC by ernsteiswuerfel
Modified: 2022-10-10 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc64, 5.0_rc2-r1) (capstone-5.0_rc2-r1:20220814-110603.log,169.36 KB, text/plain)
2022-08-14 11:12 UTC, ernsteiswuerfel
Details
LastTest.log (ppc64, 5.0_rc2-r1) (LastTest.log,173.04 KB, text/plain)
2022-08-14 11:13 UTC, ernsteiswuerfel
Details
emerge --info (file_865151.txt,6.39 KB, text/plain)
2022-08-14 11:14 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-08-14 11:12:47 UTC
Created attachment 799597 [details]
build.log (ppc64, 5.0_rc2-r1)

[...]
22/22 Test  #1: capstone_test_basic ..............Subprocess aborted***Exception:   0.17 sec

95% tests passed, 1 tests failed out of 22

Total Test time (real) =   0.17 sec

The following tests FAILED:
	  1 - capstone_test_basic (Subprocess aborted)
Errors while running CTest
Comment 1 ernsteiswuerfel archtester 2022-08-14 11:13:25 UTC
Created attachment 799599 [details]
LastTest.log (ppc64, 5.0_rc2-r1)
Comment 2 ernsteiswuerfel archtester 2022-08-14 11:14:03 UTC
Created attachment 799601 [details]
emerge --info
Comment 3 mario.haustein 2022-08-17 21:55:22 UTC
Bug reported upstream: https://github.com/capstone-engine/capstone/issues/1912
Comment 4 Larry the Git Cow gentoo-dev 2022-10-10 13:18:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6e9c648407a023b5383021d62310d93d60fb70

commit cf6e9c648407a023b5383021d62310d93d60fb70
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2022-09-08 06:05:15 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-10-10 13:10:42 +0000

    dev-libs/capstone: fix out of bound memory access
    
    Closes: https://bugs.gentoo.org/865151
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/27188
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/capstone/capstone-5.0_rc2-r2.ebuild       | 83 ++++++++++++++++++++++
 .../files/capstone-5.0_rc2-oob-mem-access.patch    | 40 +++++++++++
 2 files changed, 123 insertions(+)