diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2016-12-09 00:51:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 00:51:19 +0100 |
commit | e58e3c5e0a527802bd5286c537dc3ed603317c1d (patch) | |
tree | dabb0caf55c65bfe141a91de2c64a4c22a3682c5 /src/ilasm/prebuilt | |
parent | bf4ed11eb5cee7123fd0c6fa5b60f09fe7adf23e (diff) | |
download | coreclr-e58e3c5e0a527802bd5286c537dc3ed603317c1d.tar.gz coreclr-e58e3c5e0a527802bd5286c537dc3ed603317c1d.tar.bz2 coreclr-e58e3c5e0a527802bd5286c537dc3ed603317c1d.zip |
Remove sscanf and sprintf usage (#8508)
* Remove sscanf
* Remove sprintf
Diffstat (limited to 'src/ilasm/prebuilt')
-rw-r--r-- | src/ilasm/prebuilt/asmparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ilasm/prebuilt/asmparse.cpp b/src/ilasm/prebuilt/asmparse.cpp index 71b31a5ed6..50c62030ff 100644 --- a/src/ilasm/prebuilt/asmparse.cpp +++ b/src/ilasm/prebuilt/asmparse.cpp @@ -1744,7 +1744,7 @@ YYSTATIC YYCONST short yyrecover[] = { #define YYAPI_TOKENTYPE int #define YYAPI_TOKENEME(t) (t) #define YYAPI_TOKENNONE -1 -#define YYAPI_TOKENSTR(t) (sprintf(yytokbuf, "%d", t), yytokbuf) +#define YYAPI_TOKENSTR(t) (sprintf_s(yytokbuf, _countof(yytokbuf), "%d", t), yytokbuf) #define YYAPI_VALUENAME yylval #define YYAPI_VALUETYPE YYSTYPE #define YYAPI_VALUEOF(v) (v) |