Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
5c37bcc3
Commit
5c37bcc3
authored
11 years ago
by
heffnercj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warning in tinfl.c
parent
f6eea731
fix-entropy-graph-legend
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
tinfl.c
src/C/miniz/tinfl.c
+3
-1
No files found.
src/C/miniz/tinfl.c
View file @
5c37bcc3
...
...
@@ -625,8 +625,9 @@ int inflate_raw_file(char *in_file, char *out_file)
if
(
compressed_data
)
{
memset
(
compressed_data
,
0
,
in_size
);
fread
(
compressed_data
,
1
,
in_size
,
fp_in
);
if
(
fread
(
compressed_data
,
1
,
in_size
,
fp_in
)
==
in_size
)
{
decompressed_data
=
(
char
*
)
tinfl_decompress_mem_to_heap
(
compressed_data
,
in_size
,
&
out_size
,
0
);
if
(
decompressed_data
)
...
...
@@ -635,6 +636,7 @@ int inflate_raw_file(char *in_file, char *out_file)
free
(
decompressed_data
);
retval
=
out_size
;
}
}
free
(
compressed_data
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment