You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 0.25.4, a build using gcc -m32 (on x86_64) fails the test-enumerate test:
1..17
ok 1 /extract/test_file_name_for_label
ok 2 /extract/test_file_name_for_class
ok 3 /extract/test_comment_for_label
ok 4 /extract/test_comment_not_enabled
ok 5 /extract/test_info_simple_certificate
ok 6 /extract/test_info_limit_purposes
ok 7 /extract/test_info_invalid_purposes
p11-kit: 'templ[i].ulValueLen != 0' not true at prepare_recursive_attribute
backtrace:
#00xf7ddc579 in __kernel_vsyscall ()
#10xf7a5a88f in __pthread_kill_implementation (threadid=threadid@entry=4154181888, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:43
#20xf7a5a91f in __pthread_kill_internal (threadid=4154181888, signo=6) at pthread_kill.c:78
#30xf7a00287 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#40xf79e7121 in __GI_abort () at abort.c:79
#50xf7d461e6 in p11_debug_precond (format=0xf7d4900d"p11-kit: '%s' not true at %s\n") at ../common/debug.c:190
#60xf7c4eaa5 in prepare_recursive_attribute (iter=0x5f020530, attr=0x5f022310, templ=0x92395010, templ_len=1700946284) at ../p11-kit/iter.c:1045
#70xf7c4ebd1 in prepare_recursive_attribute (iter=0x5f020530, attr=0x5f022310, templ=0x5f025cb0, templ_len=13) at ../p11-kit/iter.c:1052
#80xf7c4ebd1 in prepare_recursive_attribute (iter=0x5f020530, attr=0x5f022310, templ=0x5f027800, templ_len=36) at ../p11-kit/iter.c:1052
#90xf7c4f05d in p11_kit_iter_load_attributes (iter=0x5f020530, templ=0x5f021f20, count=149) at ../p11-kit/iter.c:1141
#100x5e1882e7 in extract_info (ex=0x5e1b4d7c <test+284>) at ../trust/enumerate.c:309
#110x5e188511 in on_iterate_load_filter (iter=0x5f020530, matches=0xff8ddc5b"\001\325|\031^", data=0x5e1b4d7c <test+284>) at ../trust/enumerate.c:375
#120xf7c4d48e in call_all_filters (iter=0x5f020530, matches=0xff8ddc5b"\001\325|\031^") at ../p11-kit/iter.c:534
#130xf7c4deba in p11_kit_iter_next (iter=0x5f020530) at ../p11-kit/iter.c:743
#140xf7c4e353 in p11_kit_iter_next (iter=0x5f020530) at ../p11-kit/iter.c:831
#150x5e186665 in test_info_skip_non_certificate () at ../trust/test-enumerate.c:339
#160x5e19d0de in p11_test_run (argc=0, argv=0xff8dde58) at ../common/test.c:377
#170x5e18778c in main (argc=1, argv=0xff8dde54) at ../trust/test-enumerate.c:570
@ZoltanFridrich I think there's a problem with the recursive allocation during attribute loading. It should only recurse further if the current attribute is an array, not if the base attribute we're trying to load is an array, which it always is.
Since 0.25.4, a build using
gcc -m32
(on x86_64) fails thetest-enumerate
test:backtrace:
A bisect points at 6529b54.
The text was updated successfully, but these errors were encountered: