Commit Diff
--- lib/pack.c +++ lib/pack.c @@ -857,7 +857,8 @@ got_pack_parse_object_type_and_size(uint8_t *type, uin do { /* We do not support size values which don't fit in 64 bit. */ if (i > 9) - return got_error(GOT_ERR_NO_SPACE); + return got_error_fmt(GOT_ERR_OBJ_TOO_LARGE, + "packfile offset %llu", offset); if (pack->map) { if (mapoff + sizeof(sizeN) >= pack->filesize)