[Libreoffice-bugs] [Bug 109180] Crash when trying to digitally sign an ODT using aHungarian eID card

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 22 17:16:02 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=109180

--- Comment #6 from Miklos Vajna <vmiklos at collabora.co.uk> ---
I don't think it is realistic to debug this remotely via bugzilla comments, but
let me give this a try once:

The interesting part from your backtrace is this:

> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffeb6d82b0 in SECKEY_GetPublicKeyType () from /home/gabor/src/core/instdir/program/libnss3.so
> #0  0x00007fffeb6d82b0 in SECKEY_GetPublicKeyType () from /home/gabor/src/core/instdir/program/libnss3.so
> #1  0x00007fffae5e49b3 in xmlSecNssKeyDataEcdsaGetType (data=0x7683fb0) at pkikeys.c:1463

xmlSecNssKeyDataEcdsaGetType() is "my" code in xmlsec;
SECKEY_GetPublicKeyType() gets called just to assert that you you ask the "is
this a public or a private+public key?" question with this function for an
ecdsa key. Does it make any difference if you comment out that second assert?
(Edit workdir/UnpackedTarball/xmlsec/src/nss/pkikeys.c:1463, i.e. comment out
that line, make build-nocheck).

I expect this is some corruption and it'll just crash a bit later at a
different place if getting the type of a key causes a crash, but it is worth a
try.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171222/6cf96439/attachment-0001.html>


More information about the Libreoffice-bugs mailing list