Skip to content

Commit

Permalink
Fix undefined memory bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mgord9518 committed Sep 4, 2024
1 parent cfc1cbd commit de5cdef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = "squashfuse-zig",
.version = "0.4.1",
.version = "0.4.2",

.paths = [][]const u8{
"build.zig",
Expand Down
2 changes: 2 additions & 0 deletions lib/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ pub const SquashFs = struct {
sqfs.super_block.export_table_start + opts.offset,
sqfs.super_block.inode_count,
);
} else {
sqfs.export_table = null;
}

// TODO: XAttr support
Expand Down

0 comments on commit de5cdef

Please sign in to comment.