Commit Diff


commit - 0b3f028dffa4ecc7aa72dc9132d53e9d056cc36f
commit + 95bdb85df1b522e11e264cba3c300f919cde4503
blob - d9f3910f84cec758f9f922c95b27d9d4d35e5151
blob + a03f6638af6fa2dafb07d148594a09931cb82389
--- lib/object_open_io.c
+++ lib/object_open_io.c
@@ -218,6 +218,7 @@ read_packed_object_raw(uint8_t **outbuf, off_t *size, 
 		    accumfile);
 		if (err)
 			goto done;
+		*size = obj->size;
 	}
 
 	*hdrlen = obj->hdrlen;