Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobcode
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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-blobcode
Commits
5e885a2f
Commit
5e885a2f
authored
Apr 09, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix an off-by-one error in url_encode_l() (count the terminating '\0')
parent
388ef3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
url.c
src/url.c
+1
-1
No files found.
src/url.c
View file @
5e885a2f
...
@@ -43,7 +43,7 @@ enum state_e {
...
@@ -43,7 +43,7 @@ enum state_e {
size_t
size_t
url_encode_l
(
size_t
l
)
url_encode_l
(
size_t
l
)
{
{
return
l
*
3
;
return
(
l
*
3
)
+
1
;
}
}
size_t
size_t
...
...
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