public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [BUG] ut lib lib_rsa_verify_valid crashes on qemu_arm if RSA_VERIFY_WITH_PKEY=y
@ 2020-06-08 21:08 Heinrich Schuchardt
  2020-06-09  1:42 ` AKASHI Takahiro
  0 siblings, 1 reply; 7+ messages in thread
From: Heinrich Schuchardt @ 2020-06-08 21:08 UTC (permalink / raw)
  To: u-boot

Hello Takahiro,

when trying to execute command

ut lib lib_rsa_verify_valid

on qemu_arm_defconfig with CONFIG_UNIT_TEST=y and
CONFIG_RSA_VERIFY_WITH_PKEY=y it crashes in

free((void *)prop->modulus) called from
rsa_free_key_prop() called from
rsa_verify_key() called from
rsa_verify_with_pkey().

Without CONFIG_RSA_VERIFY_WITH_PKEY=y the problem does not occur.
On qemu_arm64_defconfig the problem does not occur.

Could you, please, have a look.

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-09 10:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-08 21:08 [BUG] ut lib lib_rsa_verify_valid crashes on qemu_arm if RSA_VERIFY_WITH_PKEY=y Heinrich Schuchardt
2020-06-09  1:42 ` AKASHI Takahiro
2020-06-09  3:54   ` Heinrich Schuchardt
2020-06-09  9:22     ` AKASHI Takahiro
2020-06-09 10:11       ` Heiko Stübner
2020-06-09 10:22         ` Heinrich Schuchardt
2020-06-09 10:45           ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox