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
basically: it's threading consideration.
Comments
Post a Comment