[openssl/openssl] 7884be: fix crash in ecp_nistz256_point_add_affine()

Sashan noreply at github.com
Wed May 22 13:17:58 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 7884bedc04b90bcdd46cb52e525ebe6aa1bedae5
      https://github.com/openssl/openssl/commit/7884bedc04b90bcdd46cb52e525ebe6aa1bedae5
  Author: Alexandr Nedvedicky <sashan at openssl.org>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M crypto/perlasm/x86_64-xlate.pl

  Log Message:
  -----------
  fix crash in ecp_nistz256_point_add_affine()

The .rodata section with precomputed constant `ecp_nistz256_precomputed` needs to be
terminated by .text, because the ecp_nistz256_precomputed' happens to be the
first section in the file. The lack of .text makes code to arrive into the same
.rodata section where ecp_nistz256_precomputed is found. The exception is raised
as soon as CPU attempts to execute the code from read only section.

Fixes #24184

Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24192)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list