3 ms·
Can you come up with a reasonable way this could turn into an exploitable security issue? I can see crashes and maybe live locking but Go doesn't have pointer a
by tomjen3 12y ago
Can you come up with a reasonable way this could turn into an exploitable security issue? I can see crashes and maybe live locking but Go doesn't have pointer arithmetic, so I can't see how this could be used to bust the stack.
- SamReidHughes 12y agoOne user's private information could get sent to another user, or you could have a subslice that gets "validated" and then overwritten. Edit: Of course, this isn't exclusive to data races, this can happen with anything that decides to save the slice for a while, without, say, defensively copying it, when some other code decides to reuse it.