Commit acb896c3 authored by claes's avatar claes

Fix in ivol_GetBody: Header might not be loaded for devOnly objects

parent 10bd2864
......@@ -549,6 +549,8 @@ ivol_GetBody (
if (lb == NULL) lb = &body;
lb->op = hash_Search(sts, gdbroot->oid_ht, &oid);
if ( !lb->op)
return 0;
lb->size = lb->op->g.size;
lb->body = pool_Address(NULL, gdbroot->rtdb, lb->op->u.n.body);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment