This then also breaks the previous expectation that cur_seg would
always be non-NULL. Change the code to take this into account.
---
bin/varnishd/storage/storage_persistent.c | 24 +---
bin/varnishd/storage/storage_persistent_silo.c | 71
2 files changed, 54 i
This then also breaks the previous expectation that cur_seg would
always be non-NULL. Change the code to take this into account.
Review comments:
+ ALLOC_OBJ(sg, SMP_SEG_MAGIC);
> + AN(sg);
> Instead of AN, you should just return failure. We should handle
> malloc failures gracefully