Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
f535d862
Commit
f535d862
authored
Aug 01, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And a third case of sizeof missing dereference spotted by LLVM
parent
879ca02c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cache_http.c
bin/varnishd/cache_http.c
+4
-2
No files found.
bin/varnishd/cache_http.c
View file @
f535d862
...
...
@@ -911,9 +911,11 @@ http_ClrHeader(struct http *to)
{
CHECK_OBJ_NOTNULL
(
to
,
HTTP_MAGIC
);
/* XXX: don't to->f = to->v; it would kill pipelining */
to
->
nhd
=
HTTP_HDR_FIRST
;
memset
(
to
->
hd
,
0
,
sizeof
to
->
hd
);
to
->
status
=
0
;
to
->
protover
=
0
;
to
->
conds
=
0
;
memset
(
to
->
hd
,
0
,
sizeof
*
to
->
hd
*
to
->
shd
);
}
/*--------------------------------------------------------------------*/
...
...
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