[all-commits] [llvm/llvm-project] 103bb6: [OpenMP] Fix a potential memory buffer overflow (#...

Shilei Tian via All-commits all-commits at lists.llvm.org
Fri Sep 29 09:41:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 103bb69c04a9ce8aa1ea1bcee4acaa3703e46869
      https://github.com/llvm/llvm-project/commit/103bb69c04a9ce8aa1ea1bcee4acaa3703e46869
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M openmp/runtime/src/kmp_environment.cpp

  Log Message:
  -----------
  [OpenMP] Fix a potential memory buffer overflow (#67252)

#67167 reports a potential memory overflow caused by the wrong size
passed to the function `memcpy_s`. This patch fixes it.

Fix #67167.




More information about the All-commits mailing list