summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-14 18:58:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-15 18:03:18 (EDT)
commit3c3612d0eaec5f9b6c3c1596f43b395ad5cdcd80 (patch)
tree947861434169a8b6f731e9550b793631eb181bd0 /src/main.c
parentf36acc8cfe90ff98ad39e9d84b0270890f442273 (diff)
ustar: Fix read buffer
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 700cc36..7d554f5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -107,7 +107,7 @@ _opkg_opk_main_extract(const char *file_name, const char *outer_member,
static int
_opkg_opk_main_read_control(struct opkg_opk_ustar *ustar)
{
- char buffer[OPKG_OPK_USTAR_RECORD_SIZE];
+ char *buffer;
size_t size;
int ret;