[openssl/openssl] c04901: Fix alignment errors in hashtable fuzzer

Neil Horman noreply at github.com
Tue Apr 30 10:56:34 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c04901be78768eb698d575d0b046940a5cb2aa5b
      https://github.com/openssl/openssl/commit/c04901be78768eb698d575d0b046940a5cb2aa5b
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M fuzz/hashtable.c

  Log Message:
  -----------
  Fix alignment errors in hashtable fuzzer

we extract several values (uint16_t and uint64_t from the fuzzer buff
passed in, but they weren't aligned on 2 and 8 byte boundaries.  Adjust
the fuzzer to memcpy data to the target variables to avoid unalignment
issues

Fixes #24272

Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
(Merged from https://github.com/openssl/openssl/pull/24276)



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