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
When generating a key via CLI, for example via ./src/rnpkeys/rnpkeys -g, valgrind reports
==1715== Conditional jump or move depends on uninitialised value(s)
==1715== at 0x20AE47: rnp::CertParams::populate(pgp_signature_t&) const (keygen.cpp:483)
==1715== by 0x20AFBB: rnp::CertParams::populate(pgp_userid_pkt_t&, pgp_signature_t&) const (keygen.cpp:529)
==1715== by 0x218FA0: pgp_key_t::add_uid_cert(rnp::CertParams&, pgp_hash_alg_t, rnp::SecurityContext&, pgp_key_t*) (pgp-key.cpp:2547)
==1715== by 0x2099D7: rnp::KeygenParams::generate(rnp::CertParams&, pgp_key_t&, pgp_key_t&, pgp_key_store_format_t) (keygen.cpp:275)
==1715== by 0x240236: rnp_op_generate_execute (rnp.cpp:5525)
==1715== by 0x168B28: cli_rnp_generate_key(cli_rnp_t*, char const*) (fficli.cpp:1612)
==1715== by 0x126361: rnp_cmd(cli_rnp_t*, optdefs_t, char const*) (rnpkeys.cpp:429)
==1715== by 0x12E670: main (main.cpp:129)
The line in question is if (primary) { where the CertParams::primary variable is used.
It could be set in rnp_op_generate_execute() to the value of op->primary (which itself is set in rnp_op_generate_create() and rnp_op_generate_subkey_create()).
The text was updated successfully, but these errors were encountered:
When generating a key via CLI, for example via
./src/rnpkeys/rnpkeys -g
, valgrind reportsThe line in question is
if (primary) {
where theCertParams::primary
variable is used.It could be set in
rnp_op_generate_execute()
to the value ofop->primary
(which itself is set inrnp_op_generate_create()
andrnp_op_generate_subkey_create()
).The text was updated successfully, but these errors were encountered: