Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 865151

Summary: dev-libs/capstone-5.0_rc2-r1 - fails capstone_test_basic (Subprocess aborted)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: mario.haustein
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest, TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://github.com/capstone-engine/capstone/issues/1912
https://github.com/gentoo/gentoo/pull/27188
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log (ppc64, 5.0_rc2-r1)
LastTest.log (ppc64, 5.0_rc2-r1)
emerge --info

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(+)