c# - What does ----s mean in the context of StringBuilder.ToString()? -


the reference source page stringbuilder.cs has comment in tostring method:

if (chunk.m_chunklength > 0) {     // copy these local variables      // stable in presence of ----s (hackers might this)     char[] sourcearray = chunk.m_chunkchars;     int chunkoffset = chunk.m_chunkoffset;     int chunklength = chunk.m_chunklength; 

what mean? ----s malicious user might insert string formatted?

in coreclr repository have fuller quote:

copy these local variables stable in presence of race conditions

github

basically: it's threading consideration.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -