Public bug reported:
fixed one time_t bug in this library already, now there's another.
Found via the libp11 autopkgtests.
reproducer:
OPENSSL_CONF=/tmp/tmp.AHeazS4ed8/ssl.cnf openssl req -engine pkcs11 -new
-key 'pkcs11:model=SoftHSM%20v2;object=test-key;pin-value=1234' -keyform
engine -out /tmp/tmp.AHeazS4ed8/req.pem -text -x509 -subj /CN=libp11
Snippet of gdb output:
Program received signal SIGSEGV, Segmentation fault.
Downloading source file
/usr/src/softhsm2-2.6.1-2.2ubuntu1/src/lib/slot_mgr/SlotManager.cpp
SlotManager::getSlot (this=0x0, slotID=slotID@entry=1150801720)
at SlotManager.cpp:174
174 return slots.at(slotID);
(gdb) bt
#0 SlotManager::getSlot (this=0x0, slotID=slotID@entry=1150801720)
at SlotManager.cpp:174
#1 0xf7b61b3c in SoftHSM::C_CloseAllSessions (this=0x4b6020,
slotID=slotID@entry=1150801720) at SoftHSM.cpp:1386
#2 0xf7b4a522 in C_CloseAllSessions (slotID=1150801720) at main.cpp:347
#3 0xf7bc7ffe in pkcs11_slot_unref (slot=slot@entry=0x4d7610)
at p11_slot.c:433
<snip>
'slotManager' is NULL.
** Affects: softhsm2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: time-t
** Tags added: time-t
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2059340
Title:
crash in libsofthsm2 on armhf after time_t transition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/softhsm2/+bug/2059340/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs