Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
4a607fe3
Commit
4a607fe3
authored
Jul 18, 2018
by
Geoff Simmons
Committed by
Dridi Boukelmoune
Aug 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VMOD blob encoder: don't forget the terminating null byte
parent
c4243b11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vmod_blob.c
lib/libvmod_blob/vmod_blob.c
+1
-0
No files found.
lib/libvmod_blob/vmod_blob.c
View file @
4a607fe3
...
...
@@ -431,6 +431,7 @@ encode(VRT_CTX, enum encoding enc, enum case_e kase, VCL_BLOB b)
WS_Reset
(
ctx
->
ws
,
snap
);
return
""
;
}
buf
[
len
]
=
'\0'
;
WS_Release
(
ctx
->
ws
,
len
+
1
);
return
buf
;
}
...
...
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