cinderblocks/FrontierViewer — comment on commit 1da96b09e2b56477bf356ae259e2e03bab3ca0c5
File:  line 0
By siana:

Where? If you're about me removing thread synchronization primitives... well i wrote them initially, which was stupid of me, because there's just a single thread there (the fetcher), so that's safe.

size/size_d0 is a good candidate for divide by zero. i decided to cover that experimentally, with llassert_always :) i think i would have seen problems at different places if size_d0 could ever become zero, cause there's a strong assumption that after the header is fetched, zero discard cannot be zero-sized. If such an assumption is violated, it cannot be ignored here, it must be fixed higher up in the call chain, the only good thing i can do here is signal the error.