[openssl/tools] 1324c0: fix variable aliasing in x509storeissuer

Neil Horman noreply at github.com
Wed Apr 17 19:07:46 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: 1324c01140bf6910b0a91524da0882dad02e08f1
      https://github.com/openssl/tools/commit/1324c01140bf6910b0a91524da0882dad02e08f1
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M perf/x509storeissuer.c

  Log Message:
  -----------
  fix variable aliasing in x509storeissuer

threadcount is defined globally and in main, which is fine, but doing so
causes assignments to use the local scope rather than the global, which
results in div-by-zero in the thread function when we divide NUM_CALLS
by threadcount

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



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


More information about the openssl-commits mailing list