Commit Diff


commit - 2d6dd3ed2c8c3bfc84e2e35d7c457e035725e3cf
commit + 76cbc7c5854f28fb476b6c80d69163c6a0796725
blob - 8714b15fb6a72f69d52e8e4c6f153d56437b20ad
blob + 5382bfa4ce515844b94eb435c8ca4837f41a7e92
--- lib/pack.c
+++ lib/pack.c
@@ -1758,7 +1758,7 @@ got_pack_dump_delta_chain_to_mem(uint8_t **outbuf, siz
 					err = got_delta_cache_add_fulltext(
 					    pack->delta_cache,
 					    delta_data_offset,
-					    fulltext, fulltext_len);
+					    base_buf, base_bufsz);
 					if (err &&
 					    err->code != GOT_ERR_NO_SPACE)
 						goto done;