[openssl/tools] f6a78a: fix variable aliasing in x509storeissuer

Neil Horman noreply at github.com
Wed Apr 24 12:47:31 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: f6a78a269c5320d2b1481a7c1531f58838fada25
      https://github.com/openssl/tools/commit/f6a78a269c5320d2b1481a7c1531f58838fada25
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-24 (Wed, 24 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: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau 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