Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dcs_classifier
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
uplex-varnish
dcs_classifier
Commits
5da8b391
Commit
5da8b391
authored
Jul 11, 2014
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check result of decode_base64
parent
c7db4acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
gen_dcs_classifier.pl
src/gen_dcs_classifier.pl
+1
-0
No files found.
src/gen_dcs_classifier.pl
View file @
5da8b391
...
...
@@ -388,6 +388,7 @@ sub load_classifier_db($$) {
die
'error reading '
.
$fname
.
' '
.
$!
if
(
!
defined
(
$res
));
die
'only read '
.
$res
.
' bytes of '
.
$sz
if
(
$res
<
$sz
);
$crypt_data
=
decode_base64
(
$b64
);
die
'no data after base64 decode'
unless
(
defined
(
$crypt_data
)
&&
(
length
(
$crypt_data
))
>
0
)
}
close
(
$fh
);
...
...
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