rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
194 stars 55 forks source link

rnp --show-keys SIGSEGV #381

Closed dewyatt closed 4 years ago

dewyatt commented 7 years ago

Description

There's all kinds of suspect things going on in pgp_validate_key_sigs and pgp_validate_key_cb. I think there's a NULL pgp_io_t and some double frees going on at a minimum.

Steps to Reproduce

  1. src/rnp/rnp --show-keys

Expected Behavior

I assume this is supposed to validate key signatures and show some output.

Actual Behavior

segfault

ni4 commented 4 years ago

Closing this since command --show-keys was removed in #912