-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71781/#review218749
-----------------------------------------------------------


Ship it!




Looks good, but the title line seems to have a typo? I hope you're *not* using 
that use-after-free bug for anything. :D

- Benno Evers


On Nov. 21, 2019, 9:42 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71781/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2019, 9:42 p.m.)
> 
> 
> Review request for mesos, Andrei Sekretenko and Benjamin Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Moving a framework to `frameworks.completed` transfers ownership of the
> Framework to that container and e.g., using the original framework
> pointer after that could fail (the framework could e.g., be already be
> rotated out).
> 
> This patch fixes the master to not use the potentially cleaned up
> framework pointer anymore.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp 14b90a5e276df055bb8a570331f27cab200c9869 
> 
> 
> Diff: https://reviews.apache.org/r/71781/diff/1/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>

Reply via email to