Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
67bf4dc6
Commit
67bf4dc6
authored
Mar 19, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Mar 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix overestimating size required for base64-encoded strings.
parent
341ba18d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
base64.c
dlls/crypt32/base64.c
+0
-4
No files found.
dlls/crypt32/base64.c
View file @
67bf4dc6
...
@@ -204,8 +204,6 @@ static BOOL BinaryToBase64A(const BYTE *pbBinary,
...
@@ -204,8 +204,6 @@ static BOOL BinaryToBase64A(const BYTE *pbBinary,
charsNeeded
=
0
;
charsNeeded
=
0
;
encodeBase64A
(
pbBinary
,
cbBinary
,
sep
,
NULL
,
&
charsNeeded
);
encodeBase64A
(
pbBinary
,
cbBinary
,
sep
,
NULL
,
&
charsNeeded
);
if
(
sep
)
charsNeeded
+=
strlen
(
sep
);
if
(
header
)
if
(
header
)
charsNeeded
+=
strlen
(
header
)
+
strlen
(
sep
);
charsNeeded
+=
strlen
(
header
)
+
strlen
(
sep
);
if
(
trailer
)
if
(
trailer
)
...
@@ -409,8 +407,6 @@ static BOOL BinaryToBase64W(const BYTE *pbBinary,
...
@@ -409,8 +407,6 @@ static BOOL BinaryToBase64W(const BYTE *pbBinary,
charsNeeded
=
0
;
charsNeeded
=
0
;
encodeBase64W
(
pbBinary
,
cbBinary
,
sep
,
NULL
,
&
charsNeeded
);
encodeBase64W
(
pbBinary
,
cbBinary
,
sep
,
NULL
,
&
charsNeeded
);
if
(
sep
)
charsNeeded
+=
strlenW
(
sep
);
if
(
header
)
if
(
header
)
charsNeeded
+=
strlenW
(
header
)
+
strlenW
(
sep
);
charsNeeded
+=
strlenW
(
header
)
+
strlenW
(
sep
);
if
(
trailer
)
if
(
trailer
)
...
...
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