AV::Digestor thread safety fixes #11664

Merged
merged 1 commit into from Jul 30, 2013

Projects

None yet

2 participants

@thedarkone

This fixes potential thread safety issues introduced in 09f6fe1. The problem with the original code was that the "recursion-stopping" nil values could be seen by other threads. See 09f6fe1's comments for more info.

This is targeting master, but a similar commit was also pushed into 4-0-stable: 247aa53.

ping @rafaelfranca.

@thedarkone thedarkone AV::Digestor thread safety fixes.
This fixes potential thread safety issues introduced in 09f6fe1. The problem
with the original code was that the "recursion-stopping" `nil` values could
be seen by other threads.
650810f
@rafaelfranca rafaelfranca merged commit 77cf5cf into rails:master Jul 30, 2013

1 check was pending

Details default The Travis CI build is in progress
@rafaelfranca
Ruby on Rails member

❤️ 💚 💙 💛 💜

@rafaelfranca
Ruby on Rails member

I'll backport to 4-0-stable after the build is finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment