summaryrefslogtreecommitdiff
path: root/src/ildasm/dis.cpp
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-12-27 16:46:08 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-12-27 16:46:08 +0900
commitdb20f3f1bb8595633a7e16c8900fd401a453a6b5 (patch)
treee5435159cd1bf0519276363a6fe1663d1721bed3 /src/ildasm/dis.cpp
parent4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (diff)
downloadcoreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.tar.gz
coreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.tar.bz2
coreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.zip
Imported Upstream version 1.0.0.9127upstream/1.0.0.9127
Diffstat (limited to 'src/ildasm/dis.cpp')
-rw-r--r--src/ildasm/dis.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ildasm/dis.cpp b/src/ildasm/dis.cpp
index ad5e5a7141..371466feee 100644
--- a/src/ildasm/dis.cpp
+++ b/src/ildasm/dis.cpp
@@ -475,7 +475,7 @@ void dumpOneEHInfo(DasmExceptionInfoClause* ehInfo, IMDInternalImport *pImport,
/*
if(ehInfo->GetFlags() & ERR_OUT_OF_CODE)
{
- sprintf(szString,"%s// WARNING: Boundary outside the method code",g_szAsmCodeIndent);
+ _snprintf_s(szString, _countof(szString), _TRUNCATE, "%s// WARNING: Boundary outside the method code",g_szAsmCodeIndent);
printLine(GUICookie,szString);
}
*/
@@ -863,8 +863,8 @@ BOOL SourceLinesHelper(void *GUICookie, LineCodeDescr* pLCD, __out_ecount(nSize)
/*
BOOL fHasEmbeddedSource=FALSE;
((ISymUnmanagedDocument*)(pParam->pLCD->FileToken))->HasEmbeddedSource(&fHasEmbeddedSource);
- sprintf(szString,"%s// PDB has %sembedded source",g_szAsmCodeIndent,
- fHasEmbeddedSource ? "" : "no ");
+ _snprintf_s(szString, _countof(szString), _TRUNCATE, "%s// PDB has %sembedded source",g_szAsmCodeIndent,
+ fHasEmbeddedSource ? "" : "no ");
printLine(pParam->GUICookie,szString);
*/
}