Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
567e5631
Commit
567e5631
authored
Mar 11, 2002
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge zlib double-free bug forwarded by Mark J Cox.
parent
9e95e92b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
infblock.c
zlib/infblock.c
+9
-3
No files found.
zlib/infblock.c
View file @
567e5631
...
...
@@ -249,10 +249,12 @@ int r;
&
s
->
sub
.
trees
.
tb
,
s
->
hufts
,
z
);
if
(
t
!=
Z_OK
)
{
ZFREE
(
z
,
s
->
sub
.
trees
.
blens
);
r
=
t
;
if
(
r
==
Z_DATA_ERROR
)
s
->
mode
=
zBAD
;
{
ZFREE
(
z
,
s
->
sub
.
trees
.
blens
);
s
->
mode
=
zBAD
;
}
LEAVE
}
s
->
sub
.
trees
.
index
=
0
;
...
...
@@ -317,10 +319,14 @@ int r;
if
(
t
!=
Z_OK
)
{
if
(
t
==
(
uInt
)
Z_DATA_ERROR
)
s
->
mode
=
zBAD
;
{
ZFREE
(
z
,
s
->
sub
.
trees
.
blens
);
s
->
mode
=
zBAD
;
}
r
=
t
;
LEAVE
}
ZFREE
(
z
,
s
->
sub
.
trees
.
blens
);
Tracev
((
stderr
,
"inflate: trees ok
\n
"
));
if
((
c
=
inflate_codes_new
(
bl
,
bd
,
tl
,
td
,
z
))
==
Z_NULL
)
{
...
...
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