[all-commits] [llvm/llvm-project] 6eeb4c: [OpenMP] Fix incorrect parameters to sscanf_s call

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Mon Aug 16 08:02:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eeb4c1f3203566599c12a5f2b147c6c5a92ee1d
      https://github.com/llvm/llvm-project/commit/6eeb4c1f3203566599c12a5f2b147c6c5a92ee1d
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

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

  Log Message:
  -----------
  [OpenMP] Fix incorrect parameters to sscanf_s call

On Windows, the documentation states that when using sscanf_s,
each %c and %s specifier must also have additional size parameter.
This patch adds the size parameter in the one place where %c is
used.

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




More information about the All-commits mailing list