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
2f10ef7d
Commit
2f10ef7d
authored
Aug 01, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another insufficiently wide memset spotted by LLVM.
parent
2357a951
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
storage_persistent_subr.c
bin/varnishd/storage_persistent_subr.c
+1
-1
No files found.
bin/varnishd/storage_persistent_subr.c
View file @
2f10ef7d
...
...
@@ -67,7 +67,7 @@ smp_def_sign(const struct smp_sc *sc, struct smp_signctx *ctx,
AZ
(
off
&
7
);
/* Alignment */
assert
(
strlen
(
id
)
<
sizeof
ctx
->
ss
->
ident
);
memset
(
ctx
,
0
,
sizeof
ctx
);
memset
(
ctx
,
0
,
sizeof
*
ctx
);
ctx
->
ss
=
(
void
*
)(
sc
->
base
+
off
);
ctx
->
unique
=
sc
->
unique
;
ctx
->
id
=
id
;
...
...
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