Commit d874703
committed
afr:prevent null pointer access in afr_notify
Add a check for the `this->cleanup_starting` flag at the beginning of
`afr_notify()` to skip notifications for volumes that are undergoing
finalization (`fini`). This prevents `afr_has_quorum` from accessing
already freed `this->private`.
Fixex: #46441 parent 33ea6c5 commit d874703
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6397 | 6397 | | |
6398 | 6398 | | |
6399 | 6399 | | |
6400 | | - | |
6401 | 6400 | | |
6402 | 6401 | | |
6403 | 6402 | | |
| |||
6414 | 6413 | | |
6415 | 6414 | | |
6416 | 6415 | | |
| 6416 | + | |
6417 | 6417 | | |
6418 | 6418 | | |
6419 | 6419 | | |
| |||
0 commit comments