[PATCH 02/13] Create and use a smp_signspace structure to have range checking on the growing signed data structures.

2012-10-01 Thread Martin Blix Grydeland
--- bin/varnishd/storage/storage_persistent.c | 23 +++--- bin/varnishd/storage/storage_persistent.h | 35 +++-- bin/varnishd/storage/storage_persistent_silo.c | 10 +-- bin/varnishd/storage/storage_persistent_subr.c | 90 4 files changed, 126 inserti

[PATCH 02/13] Create and use a smp_signspace structure to have range checking on the growing signed data structures.

2012-09-28 Thread Martin Blix Grydeland
Review comments: ... I guess this is really a manifestation of the fact that smp_sign should > not be used as a space-handle in the first place, so what we really > should do is add: > struct smp_space { > uint64_tfirst; > uint64_tlen; >