diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-01-17 02:08:21 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-01-17 21:47:02 -0800 |
commit | c741a478a1096212e93e881b58fdb654465bc19d (patch) | |
tree | 373ab23c8374cd0f41440618c1f4c2d26662c12f /src/til_threads.c | |
parent | 8cc43dafc8f0d4ca04aa162573a44016f45ea364 (diff) |
til_fb: don't dereference NULL fragment ops
For strictly logical fragments (e.g. tiled fragmenters) there
won't be any ops, and that's even documented in the comments.
But the snapshot and reclaim functoins were assuming the ops
would be non-NULL. Snapshot in particular trips on this
assumption when a module snapshots a subfragment, like drizzle in
montage. I'm surprised I haven't encountered this crash
before...
Diffstat (limited to 'src/til_threads.c')
0 files changed, 0 insertions, 0 deletions