[openssl/openssl] 851152: Fix an occasional CI failure due to unaligned access

Bernd Edlinger noreply at github.com
Thu Oct 13 12:27:35 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 8511520842b744d1794ea794c032ce5f78cd874b
      https://github.com/openssl/openssl/commit/8511520842b744d1794ea794c032ce5f78cd874b
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M crypto/bn/rsaz_exp_x2.c

  Log Message:
  -----------
  Fix an occasional CI failure due to unaligned access

This happens rarely, but only because very few CI runs
use the exotic CPU type that is necessary to execute
anything within rsaz_exp_x2.c and enable UBSAN at the same time.

crypto/bn/rsaz_exp_x2.c:562:20: runtime error: load of misaligned address 0x612000022cc6 for type 'uint64_t' (aka 'unsigned long'), which requires 8 byte alignment
0x612000022cc6: note: pointer points here
 84 a3 78 e0 8e 8d  4a a5 51 9c 57 d0 d6 41  f3 26 d1 4e e1 98 42 b5  3a 9f 04 f1 73 d2 1d bf  73 44
             ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior crypto/bn/rsaz_exp_x2.c:562:20 in
../../util/wrap.pl ../../fuzz/server-test ../../fuzz/corpora/server => 1
not ok 2 - Fuzzing server

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19394)




More information about the openssl-commits mailing list