Re:Race conditions on the web
by yardstick on Wednesday July 13, 2016 @10:56AM
(#12086622)
I've seen this before in a Java system. A MVC Controller populated the HTTP params into a Bean, which it assigned to an instance field, and then used that subsequently to grab the value to update (don't think it was password, might have been email address iirc). This would work fine if the controlled was request scoped, but it turned out to be a singleton - so the field was shared across all requests!
[ Parent
| on HN ]
There are no comments on this comment yet.