This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix incorrect parameters to sscanf_s call
ClosedPublic

Authored by jlpeyton on Jul 13 2021, 12:46 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jlpeyton created this revision.Jul 13 2021, 12:46 PM
jlpeyton requested review of this revision.Jul 13 2021, 12:46 PM
This revision is now accepted and ready to land.Jul 21 2021, 4:49 AM
This revision was automatically updated to reflect the committed changes.