Commit Diff
--- 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;