Fix use-after-free in futexWaitUntilImpl
authorSarang Masti <mssarang@fb.com>
Thu, 26 Jun 2014 22:37:13 +0000 (15:37 -0700)
committerNicholas Ormrod <njormrod@fb.com>
Fri, 27 Jun 2014 22:06:57 +0000 (15:06 -0700)
commit8ee3ba54b58058f6598124bccd27edc1fe4a91c9
treea03ba24d5f8fae6049c56dc9fe8eae9f642e1c5e
parent0498579d1cd917bf4fc29266e80fa23687f0a545
Fix use-after-free in futexWaitUntilImpl

Summary: Handle wake-ups correctly in futexWaitUntilImpl.

Test Plan:
-- ran all folly unit tests
-- ran TimeoutWorkQueue test under tao/queues

Reviewed By: ngbronson@fb.com, meyering@fb.com

FB internal diff: D1406845

Tasks: 4494871
folly/test/DeterministicSchedule.cpp