Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobdigest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
libvmod-blobdigest
Commits
97fc797b
Commit
97fc797b
authored
Dec 19, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check a pointer before using it
parent
5658f3cf
Pipeline
#103
skipped
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vmod_blobdigest.c
src/vmod_blobdigest.c
+1
-1
No files found.
src/vmod_blobdigest.c
View file @
97fc797b
...
...
@@ -470,13 +470,13 @@ vmod_hmac__init(VRT_CTX, struct vmod_blobdigest_hmac **hmacp,
enum
algorithm
hash
=
parse_algorithm
(
hashs
);
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
AN
(
vcl_name
);
if
(
key
==
NULL
||
key
->
priv
==
NULL
)
{
VERR
(
ctx
,
"key is NULL in %s constructor"
,
vcl_name
);
return
;
}
AN
(
hmacp
);
AZ
(
*
hmacp
);
AN
(
vcl_name
);
ALLOC_OBJ
(
hmac
,
VMOD_BLOBDIGEST_HMAC_MAGIC
);
AN
(
hmac
);
...
...
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