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
82081bab
Commit
82081bab
authored
Aug 06, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vre: Check return value when setting limits
Spotted by flexelint.
parent
38506b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vre.c
lib/libvarnish/vre.c
+2
-2
No files found.
lib/libvarnish/vre.c
View file @
82081bab
...
...
@@ -156,8 +156,8 @@ vre_limit(const vre_t *code, const volatile struct vre_limits *lim)
/* XXX: not reentrant */
AN
(
code
->
re_ctx
);
pcre2_set_match_limit
(
code
->
re_ctx
,
lim
->
match
);
pcre2_set_depth_limit
(
code
->
re_ctx
,
lim
->
depth
);
AZ
(
pcre2_set_match_limit
(
code
->
re_ctx
,
lim
->
match
)
);
AZ
(
pcre2_set_depth_limit
(
code
->
re_ctx
,
lim
->
depth
)
);
}
vre_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