We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f6798 commit b5ece7aCopy full SHA for b5ece7a
runtime.c
@@ -289,7 +289,8 @@ main (int argc, char *argv[])
289
fclose(f);
290
chmod (prefixed_path_to_extract, st.st_mode);
291
} else if(inode.base.inode_type == SQUASHFS_SYMLINK_TYPE){
292
- size_t size = strlen(trv.path)+1;
+ size_t size;
293
+ sqfs_readlink(&fs, &inode, NULL, &size);
294
char buf[size];
295
int ret = sqfs_readlink(&fs, &inode, buf, &size);
296
if (ret != 0)
0 commit comments