mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benno Evers <>
Subject Review Request 67401: Fixed segfault in libprocess due to order-of-evaluation bug.
Date Thu, 31 May 2018 15:47:07 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Alexander Rukletsov and Benjamin Mahler.

Bugs: MESOS-8970

Repository: mesos


Up to C++17, the only ordering constraint on the evaluation of
expressions between synchronization points was that function
arguments shall be evaluated before calling a function.

This could lead to the situation where `std::move(futures)` could be
called before `await(futures.values())`, leading to a function call
on a moved-from object and thus undefined behaviour.


  3rdparty/libprocess/src/metrics/metrics.cpp e0d0ee4c8d0df66779c7ef296a1a18d988e889b8 




Benno Evers

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message