Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e9412594
Commit
e9412594
authored
Dec 08, 2016
by
mshabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Persistence: fixed valgrind warning in base64 decoder
parent
c48d7f86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
persistence.cpp
modules/core/src/persistence.cpp
+2
-0
No files found.
modules/core/src/persistence.cpp
View file @
e9412594
...
...
@@ -7513,6 +7513,8 @@ bool base64::base64_valid(uint8_t const * src, size_t off, size_t cnt)
return
false
;
if
(
cnt
==
0U
)
cnt
=
std
::
strlen
(
reinterpret_cast
<
char
const
*>
(
src
));
if
(
cnt
==
0U
)
return
false
;
if
(
cnt
&
0x3U
)
return
false
;
...
...
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