Crash in [@ CxxThrowException | Botan::hex_decode]
Categories
(MailNews Core :: Security: OpenPGP, defect)
Tracking
(Not tracked)
People
(Reporter: wsmwk, Unassigned)
References
Details
(Keywords: crash)
Crash Data
all crashes are version 78, at least for the past month.
Crash report: https://crash-stats.mozilla.org/report/index/857f563e-6fdc-4efc-b34c-a5ee10200830
Top 10 frames of crashing thread:
0 kernelbase.dll RaiseException
1 rnp.dll CxxThrowException /builds/worker/workspace/obj-build/comm/third_party/rnp/f:/dd/vctools/crt/vcruntime/src/eh/throw.cpp:129
2 rnp.dll Botan::hex_decode comm/third_party/botan/src/lib/codec/hex/hex.cpp:112
3 rnp.dll Botan::hex_decode comm/third_party/botan/src/lib/codec/hex/hex.cpp:192
4 rnp.dll std::_Func_impl_no_alloc<`lambda at /builds/worker/checkouts/gecko/comm/third_party/botan/src/lib/ffi/ffi.cpp:264:37', int>::_Do_call
5 rnp.dll botan_hex_decode comm/third_party/botan/src/lib/ffi/ffi.cpp:264
6 rnp.dll rnp_hex_decode comm/third_party/rnp/src/lib/misc.cpp:440
7 rnp.dll str_to_locator comm/third_party/rnp/src/lib/rnp.cpp:3418
8 rnp.dll rnp_locate_key comm/third_party/rnp/src/lib/rnp.cpp:3507
9 xul.dll ffi_call_win64
| Reporter | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Yes same.
I've reported the issue at https://github.com/rnpgp/rnp/issues/1287
The RNP library should be fixed to prevent this crash, by using try/catch
Comment 3•5 years ago
|
||
Nickolay, once this is fixed, could you please point us to an updated RNP revision suitable for inclusion in the Thunderbird stable branch? Thanks.
| Reporter | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Kai, sure. Actually I'm surprised why and how this could happen, let's first resolve this (together with RSA key generation issue, probably).
| Reporter | ||
Comment 5•5 years ago
|
||
https://github.com/rnpgp/rnp/issues/1287 notes on Sept 24, 2020, "The issue is fixed by using the /EHs clang compiler flag. (Which Botan's build system already uses, but the Thunderbird build system didn't...)"
And the crashes ended in September. Did we implement the fix mentioned above?
Comment 6•5 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #5)
And the crashes ended in September. Did we implement the fix mentioned above?
Yes, in bug 1653884.
Description
•