[all-commits] [llvm/llvm-project] c704b2: [OpenMP] libomp: Fix possible NULL dereference.

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Wed Oct 27 06:55:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c704b25b449418217f2e3ee41c100f3ee9a59e4c
      https://github.com/llvm/llvm-project/commit/c704b25b449418217f2e3ee41c100f3ee9a59e4c
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M openmp/runtime/src/ompt-general.cpp

  Log Message:
  -----------
  [OpenMP] libomp: Fix possible NULL dereference.

According to dlsym description, the value of symbol could be NULL,
and there is no error in this case. Thus dlerror will also return NULL in
this case. We need to check the value returned by dlerror before printing it.

Differential Revision: https://reviews.llvm.org/D112174


  Commit: a64797b5b81963a8d4bc73eaacabfee67c85c679
      https://github.com/llvm/llvm-project/commit/a64797b5b81963a8d4bc73eaacabfee67c85c679
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c

  Log Message:
  -----------
  [OpenMP][NFC] disable test on power because of -mlong-double-80 option


Compare: https://github.com/llvm/llvm-project/compare/9f9034758896...a64797b5b819


More information about the All-commits mailing list