Skip to content

Commit e52f3a5

Browse files
committed
[1.8>master] [MERGE #4403 @tcare] Fix TVS bug in UriHelper
Merge pull request #4403 from tcare:prefasturi Fixes OS: 14980718 We already have a pragma, but the current one will only work for the following line, and not between the two directives as intended. Change to disable.
2 parents 1459176 + 6df4708 commit e52f3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Library/UriHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ namespace Js
225225
uint32 utfLen = ToUTF8(uVal, bUTF8);
226226
for( uint32 j = 0; j < utfLen; j++ )
227227
{
228-
#pragma prefast(suppress: 26014, "buffer length was calculated earlier");
228+
#pragma prefast(disable: 26014, "buffer length was calculated earlier");
229229
BYTE val = bUTF8[j];
230230
*outCurrent++ = _u('%');
231231
*outCurrent++ = hexStream[(val >> 4)];

0 commit comments

Comments
 (0)