mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Review Request 70454: Fixed potential use-after-free bug in storage local resource provider.
Date Thu, 11 Apr 2019 12:55:15 GMT

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

Review request for mesos and Chun-Hung Hsiao.


Bugs: MESOS-9711
    https://issues.apache.org/jira/browse/MESOS-9711


Repository: mesos


Description
-------

The storage local resource provider manages a metrics instance which is
shared with the service and volume managers it also holds; these
services do not manage the lifetime of the metrics instance.

This patch fixes the lifetime of the metrics instance.


Diffs
-----

  src/resource_provider/storage/provider.cpp b2ca5d0735cbd11b8a9689359e05d6bd723b8a64 


Diff: https://reviews.apache.org/r/70454/diff/1/


Testing
-------

`make check`


Thanks,

Benjamin Bannier


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