Commit d14fb9a
committed
mds: fix issues with use-after-free in C_Flush_Journal
Moved dout() statement out of trim_expired_segments() to avoid
dereferencing 'this' object after object deletion via context completion
handler.
Fixes: https://tracker.ceph.com/issues/69953
Signed-off-by: Milind Changire <[email protected]>1 parent aab2b26 commit d14fb9a
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 183 | | |
188 | 184 | | |
189 | 185 | | |
| |||
202 | 198 | | |
203 | 199 | | |
204 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
0 commit comments